POV-Ray : Newsgroups : povray.off-topic : update, updates, updates : Re: update, updates, updates Server Time
28 Jul 2024 20:29:24 EDT (-0400)
  Re: update, updates, updates  
From: Orchid Win7 v1
Date: 16 Jan 2013 16:22:50
Message: <50f71a2a@news.povray.org>
On 16/01/2013 06:30 PM, Warp wrote:
> Francois Labreque<fla### [at] videotronca>  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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.