Re: [FFmpeg-devel] [PATCH 3/3] avcodec/alac: Check lpc_quant

2019-07-07 Thread Michael Niedermayer
On Wed, Jun 19, 2019 at 01:53:03AM +0200, Michael Niedermayer wrote: > lpc_quant of 0 produces undefined behavior, thus disallow this. > If valid samples use this then such a sample would be quite > usefull to confirm the correct&lossles handling of this. > > Fixes: libavcodec/alac.c:218:25: runti

[FFmpeg-devel] [PATCH 3/3] avcodec/alac: Check lpc_quant

2019-06-18 Thread Michael Niedermayer
lpc_quant of 0 produces undefined behavior, thus disallow this. If valid samples use this then such a sample would be quite usefull to confirm the correct&lossles handling of this. Fixes: libavcodec/alac.c:218:25: runtime error: shift exponent -1 is negative Fixes: 15273/clusterfuzz-testcase-mini