avi: Fix potential integer overflow
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 17 May 2019 11:17:41 +0000 (13:17 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 23 May 2019 15:30:58 +0000 (17:30 +0200)
commitb96e1a6380368240a156d84617c4379df14b0ec1
tree53b22988737a41274e19924747b1381d4471486f
parent2e2951692473e528fa30c6b079876f32a8c5e96e
avi: Fix potential integer overflow

Leading to an out of bound read

https://hackerone.com/reports/501971
https://hackerone.com/reports/484398

(cherry picked from commit 2e7d1075b715e4e7a8772039c9a74b4834e64342)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
modules/demux/avi/avi.c