avcodec/dvdsubdec: Fix off by 1 error
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Oct 2016 22:11:52 +0000 (00:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Dec 2016 17:29:12 +0000 (18:29 +0100)
commit37ff66d1bde72f7fa89cd5c606d7288fb445852e
tree4db682220c0e5ab62cb67709e8ba0b59c4f4656e
parentb6b7034416073f65c00a70448d7c24430e1dc594
avcodec/dvdsubdec: Fix off by 1 error

Fixes out of array read

Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c92f55847a3d9cd12db60bfcd0831ff7f089c37c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvdsubdec.c