[FFmpeg-devel] [PATCH 09/11] avformat/pcm: Check block_align

Michael Niedermayer michael at niedermayer.cc
Sun Oct 25 10:59:52 EET 2020


On Tue, Oct 20, 2020 at 10:56:17PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 321 * 8746632 cannot be represented in type 'int'
> Fixes: 26461/clusterfuzz-testcase-minimized-ffmpeg_dem_PVF_fuzzer-6326427831762944
> 
> 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/pcm.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

will apply

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

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20201025/a6e78d58/attachment.sig>


More information about the ffmpeg-devel mailing list