[FFmpeg-devel] [PATCH] rsd: limit number of channels
    Michael Niedermayer 
    michael at niedermayer.cc
       
    Thu Oct 20 03:04:23 EEST 2016
    
    
  
On Wed, Oct 19, 2016 at 11:46:43PM +0200, Andreas Cadhalpun wrote:
> Negative values don't make sense and too large values can cause
> overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata
> buffer being allocated, causing out-of-bounds writes.
> 
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
>  libavformat/rsd.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
LGTM
thx
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- 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/20161020/67b6eef4/attachment.sig>
    
    
More information about the ffmpeg-devel
mailing list