[FFmpeg-devel] [PATCH 1/9] avformat/segafilm: Check that there is a stream

Michael Niedermayer michael at niedermayer.cc
Fri Oct 30 16:26:19 EET 2020


On Thu, Oct 22, 2020 at 12:37:25AM +0200, Michael Niedermayer wrote:
> Fixes: assertion failure
> Fixes: 26472/clusterfuzz-testcase-minimized-ffmpeg_dem_SEGAFILM_fuzzer-5759751591559168
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/segafilm.c | 3 +++
>  1 file changed, 3 insertions(+)

will apply not yet applied parts of this set

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

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201030/d8344045/attachment.sig>


More information about the ffmpeg-devel mailing list