[FFmpeg-devel] [PATCH 2/3] avcodec/x86/lossless_videoencdsp: Fix handling of small widths

Michael Niedermayer michael at niedermayer.cc
Thu Oct 5 01:50:53 EEST 2017


On Sat, Sep 30, 2017 at 12:58:28AM +0200, Michael Niedermayer wrote:
> Fixes out of array access
> Fixes: crash-huf.avi
> 
> Regression since: 6b41b4414934cc930468ccd5db598dd6ef643987
> 
> This could also be fixed by adding checks in the C code that calls the dsp
> 
> Found-by: Zhibin Hu and 连一汉 <lianyihan at 360.cn>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/x86/lossless_videoencdsp.asm | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

will apply


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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/20171005/968459ab/attachment.sig>


More information about the ffmpeg-devel mailing list