[FFmpeg-devel] [PATCH 5/5] avcodec/cngdec: Remove AV_CODEC_CAP_DELAY

Michael Niedermayer michael at niedermayer.cc
Mon Nov 25 01:05:14 EET 2019


On Sat, Oct 19, 2019 at 10:39:50PM +0200, Michael Niedermayer wrote:
> As is the decoder will never stop, it will cause an infinite loop. The RFC seems only
> to speak of non empty packets so endlessly generating noise from the last empty flush
> packets seems wrong.
> 
> Fixes: infinite loop
> Fixes: 18333/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COMFORTNOISE_fuzzer-5668481831272448
> 
> 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/cngdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

Any man who breaks a law that conscience tells him is unjust and willingly 
accepts the penalty by staying in jail in order to arouse the conscience of 
the community on the injustice of the law is at that moment expressing the 
very highest respect for law. - Martin Luther King Jr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191125/7ff482f3/attachment.sig>


More information about the ffmpeg-devel mailing list