* Erik Hofman -- Sunday 15 April 2007:
> So it's indeed required not to use the aggressive RLE option for the 
> splash screen images [...]

Nope. But GIMP apparently generates corrupted files where compressed
scanlines aren't properly closed. (This is probably the reason why
they falsely claim that SGI doesn't support those. Yes, some spec
compliant readers may not like the corrupted GIMP files.  ;-)

I added a sanity check that makes sure we only read the number of
specified bytes, and no longer read until we find the mandatory
(which just may not be there in corrupt files). There should really
be more sanity checks. This code is rather sloppy. It makes invalid
assumptions about data type sizes, allocates insanely big buffers,
had no sanity checks, ...

Other corruption types will still crash this code, but the an2 file
should work now. Avoid GIMP and use KDE, and you'll be fine.  :-) 

m.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to