[FFmpeg-devel] [libav-devel] [PATCH] opus_silk: fix out of array read in silk_lsf2lpc
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Mon Dec 14 23:45:59 CET 2015
On 14.12.2015 22:34, Luca Barbato wrote:
> On 14/12/15 20:43, Andreas Cadhalpun wrote:
>> + nlsf[i] = FFMIN(nlsf[i - 1] + min_delta[i], INT16_MAX);
>
> maybe av_clip_int16 ?
Sure, updated patch attached.
Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opus_silk-fix-int16_t-overflow-in-silk_stabilize_lsf.patch
Type: text/x-diff
Size: 1613 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151214/7fc61f9b/attachment.patch>
More information about the ffmpeg-devel
mailing list