avcodec/aacsbr_fixed: Fix integer overflow in sbr_hf_assemble()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 7 Apr 2018 19:55:06 +0000 (21:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit0e5946d5b247d0f9d59096629ccae3bf01b9d40d
treecd564c1f6f72cd1486188166adf8230e5d69e19f
parent23f13130f12a269b9b721cf233c3343ffc2ed3bc
avcodec/aacsbr_fixed: Fix integer overflow in sbr_hf_assemble()

Fixes: runtime error: signed integer overflow: 2052929346 + 204817098 cannot be represented in type 'int'

This was missed in b1bef755f617af9685b592d866b3eb7f3c4b02b1
Fixes: 5275/clusterfuzz-testcase-minimized-5367635958038528

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c837918f50a7bbd6150afd340857ea43fe4717c7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacsbr_fixed.c