A high-severity vulnerability has been fixed in WinRAR, the popular file archiver utility for Windows used by millions, that can execute commands on a computer simply by opening an archive.
Your choices are basically “rewrite the entire file” or “leave the original file in place, do an append and try and hide the old file.”
Editing old data in most streaming file formats with inline metadata is basically impossible because they compact the data as much as possible and internally refer to offsets.
Appending is trivial, editing is very hard if not downright impossible.
Removed by mod
RAR != ZIP.
Fell free to read a stack overflow about that situation
Your choices are basically “rewrite the entire file” or “leave the original file in place, do an append and try and hide the old file.”
Editing old data in most streaming file formats with inline metadata is basically impossible because they compact the data as much as possible and internally refer to offsets.
Appending is trivial, editing is very hard if not downright impossible.