avcodec/htmlsubtitles: Fixes denial of service due to use of sscanf in inner loop...
authorKevin Backhouse via RT <security-reports@semmle.com>
Wed, 6 Feb 2019 12:56:01 +0000 (12:56 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Mar 2019 23:24:44 +0000 (00:24 +0100)
commitf7f3937494f6734d27fc3d0081c9c7a9a19614a8
tree9756e5cfa3fd598363bcebbfd51ce835444184b5
parentcc5361ed18ab0f69cfbead7afc88fb81ed4b36ae
avcodec/htmlsubtitles: Fixes denial of service due to use of sscanf in inner loop for handling braces

Fixes: [Semmle Security Reports #19439]
Fixes: dos_sscanf2.mkv

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 894995c41e0795c7a44f81adc4838dedc3932e65)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/htmlsubtitles.c