[FFmpeg-devel] [PATCH] avcodec/diracdec: Fix qfactor/offset tables
Michael Niedermayer
michael at niedermayer.cc
Sun Jan 17 17:09:36 CET 2016
On Wed, Jan 13, 2016 at 11:51:47PM +0100, Michael Niedermayer wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
>
> It seems the previous tables where calculated with 32bit integers ignoring
> overflows.
> Also check for the max qindex, the value is choosen so that the qfactor/offset
> fit in int32.
>
> Fixes: 070b7914fd5dfe8f93248bea71363410/asan_static-oob_c8d034_2764_258e20f4a3c79158aecddb61a833d756.drc
> Fixes out of array reads
>
> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavcodec/diracdec.c | 108 ++++++++++++++++++++++++++++---------------------
> 1 file changed, 63 insertions(+), 45 deletions(-)
applied
[...]
--
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/20160117/a45123fe/attachment.sig>
More information about the ffmpeg-devel
mailing list