[FFmpeg-devel] [PATCH] lavf/matroska: comment a missing error check.

Nicolas George george at nsup.org
Wed Jan 18 17:42:29 EET 2017


L'octidi 28 nivôse, an CCXXV, Michael Niedermayer a écrit :
> instructions to reproduce the issue or a stack trace would make it
> easier for interrested people to fix this
> 
> i can guess that maybe buf is NULL but thats just a guess

Yes, it happens when flirting with OOM, when OOM happens in one of the
allocations for dyn_buf, the error is kept and reported when calling
avio_close_dyn_buf(), and in that case buf is NULL and causes a segfault
a few lines below.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170118/ea227588/attachment.sig>


More information about the ffmpeg-devel mailing list