[FFmpeg-devel] [PATCH] avcodec/fitsdec: Check data_min/max

Michael Niedermayer michael at niedermayer.cc
Sun Jun 30 15:22:39 EEST 2019


On Tue, Jun 25, 2019 at 12:05:19PM +0200, Michael Niedermayer wrote:
> Fixes: division by 0
> Fixes: 15206/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5657260212092928
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/fitsdec.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

will apply

[...]
-- 
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: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190630/1de41909/attachment.sig>


More information about the ffmpeg-devel mailing list