[FFmpeg-devel] [PATCH 2/2] avutil/tx_priv: Use unsigned in BF() to avoid signed overflows

Michael Niedermayer michael at niedermayer.cc
Sat Apr 22 22:18:56 EEST 2023


On Sun, Jan 22, 2023 at 01:02:22AM +0100, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 100183269 - -2132769113 cannot be represented in type 'int'
> Fixes: 55063/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5039294027005952
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavutil/tx_priv.h | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)

will apply

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

You can kill me, but you cannot change the truth.
-------------- 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/20230422/67301825/attachment.sig>


More information about the ffmpeg-devel mailing list