[FFmpeg-devel] [PATCH] avcodec/qtrle: Check how much of the chunk is available before decoding

Michael Niedermayer michael at niedermayer.cc
Thu Apr 25 12:40:02 EEST 2019


On Tue, Apr 02, 2019 at 02:48:37AM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (10sec -> 2sec)
> Fixes: 13979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QTRLE_fuzzer-5635157718990848
> 
> 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/qtrle.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

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/20190425/2812181b/attachment.sig>


More information about the ffmpeg-devel mailing list