[FFmpeg-devel] Ticket 4386 : crash create by previous patch

Martin Vignali martin.vignali at gmail.com
Mon Mar 30 23:11:53 CEST 2015


Hello,

After some research, the crash when reading exr Piz file (ticket 4386),
appear with this patch :
https://github.com/FFmpeg/FFmpeg/commit/586ba24ff29468d2a4ee843a9650feea5b2be6f6

if, i use the previous line :
memset(lut + k, 0, (USHORT_RANGE - k) * 2);

instead of the new one :
memset(lut + k * 2, 0, (USHORT_RANGE - k) * 2);

crash disappear.

But i suppose, this previous patch have been made for a reason...

Martin


More information about the ffmpeg-devel mailing list