On Mon, Mar 30, 2015 at 11:11:53PM +0200, Martin Vignali wrote:
> 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...

yes or it was a mistake mixing the sizeofs up
either way, its definitly wrong as it is now so reverted, i dont want
to leave such out of array access issues open ...

Thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to