Thanks Farshid, fix now merged and submitted to SVN.
On Oct 9, 2007 10:56 PM, Farshid Lashkari <[EMAIL PROTECTED]> wrote: > Hi Robert, > > The bmp writer crashes in certain cases. It happens when the computed > size of the image data is greater than the actual image size. This > causes the memcpy call to go out of the array bounds. I modified the > code so that it copies the data during the iteration, instead of > memcpy'ing. This fixes the problems i was having. > > If you are curious, the writer was crashing when trying to write an > RGB image that was 2050 x 1280. You might be able to reproduce it by > allocating an empty image of that size and writing it to a file. > > Cheers, > Farshid > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
