[FFmpeg-devel] [PATCH 2/4] opus: Fix arithmetic overflows (per RFC8251)

Michael Niedermayer michael at niedermayer.cc
Sun Dec 3 23:31:21 EET 2017


On Sat, Dec 02, 2017 at 11:46:57AM -0600, Andrew D'Addesio wrote:
> The relevant sections from the RFC are:
> 
> Sec.6. Integer Wrap-Around in Inverse Gain Computation
>     32-bit integer overflow in Levinson recursion. Affects
>     silk_is_lpc_stable().
> 
> Sec.8. Cap on Band Energy
>     NaN due to large log-energy value. Affects celt_denormalize().
> 
> Signed-off-by: Andrew D'Addesio <modchipv12 at gmail.com>
> ---
>  libavcodec/opus_celt.c |  3 ++-
>  libavcodec/opus_silk.c | 11 +++++++++--
>  2 files changed, 11 insertions(+), 3 deletions(-)

This should be 2 patches

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/8f6504be/attachment.sig>


More information about the ffmpeg-devel mailing list