On 28/12/2011 3:42 PM, Hendrik Leppkes wrote:
Hi,

attached patch fixes a memory corruption when decoding WavPack > 16-bit.
It is caused by the decoder being initialized as S16, and requesting a
buffer for that size, however when decoding the very first frame, the
type can actually change after the buffer was requested, causing it to
write beyond the end of the buffer.

This actually solves an issue I was having while fixing a different bug!
Thanks!

The patch looks OK to me, but I suppose it's a better idea for Kostya
to review it.

- Derek
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to