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 11:29:22 +0000 (11:29 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Mar 2019 09:42:52 +0000 (10:42 +0100)
commit381fa4a29d38e4ddef2a83876fb8f76e96f45a5d
tree565bcaf232c75ebec285dde8e1377b32a7f996f2
parentc50ba3cb6cec30daa09bb579295ac619498de9ac
avcodec/htmlsubtitles: Fixes denial of service due to use of sscanf in inner loop for tag scaning

Fixes: [Semmle Security Reports #19438]
Fixes: dos_sscanf1.mkv

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