|
![](/i/fill.gif) |
On 16/01/2013 06:30 PM, Warp wrote:
> Francois Labreque<fla### [at] videotron ca> wrote:
>> Ex: One guy finds out that you can create specially crafted .BMP files
>> with a color palette that has 4294967297 (MAX_INT + 1) colors
>
> Given that the vast majority of image files have an exact amount of
> bytes reserved for the different sizes, I would like to see how you
> can put a value larger than what those bytes can express there.
There appears to be plenty of software that incorrectly treats various
size values as signed integers. (E.g., programs that malfunction on
files larger than 2GB because they think the file size has become
"negative".)
Personally, I blame C...
Post a reply to this message
|
![](/i/fill.gif) |