[magick-developers] Access to uninitialized memory on corrupted exif profile

Alexander E. Patrakov patrakov at gmail.com
Tue Jan 20 19:46:42 PST 2009


Hello,

$ valgrind identify -verbose post-4-1194134878.jpg
<snip>
==6349== Conditional jump or move depends on uninitialised value(s)
==6349==    at 0x806E35A: GetEXIFProperty (property.c:1268)
==6349==    by 0x80705CC: GetImageProperty (property.c:1962)
==6349==    by 0x818D7F2: ReadImage (constitute.c:638)
==6349==    by 0x818E300: ReadImages (constitute.c:884)
==6349==    by 0x821D9BC: IdentifyImageCommand (identify.c:297)
==6349==    by 0x804BE1F: main (identify.c:119)

That's with today's SVN, and the image is from
http://rfocd.beta.ru/uploads/monthly_11_2007/post-4-1194134878.jpg

Sorry, I won't provide a patch right now, even though the bug may be
caused by my "multivalued exif and gps properties" patch.

-- 
Alexander E. Patrakov


More information about the Magick-developers mailing list