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>
Mon, 13 May 2019 22:17:31 +0000 (00:17 +0200)
commit273f2755ce8635d42da3cde0eeba15b2e7842774
tree8e179c31ed446685d1bc04d6e0f3e3224161e5e7
parent23ccf3cabb4baf6e8af4b1af3fcc59c904736f21
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