avcodec/dvdsub_parser: Check buf_size before reading 32bit packet size
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Aug 2014 23:15:37 +0000 (01:15 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Aug 2014 23:27:03 +0000 (01:27 +0200)
commit76d59f1b34bbee44a98ae8683bcc3780321d8184
tree1199d0716364f12df210a1091437055f0b70a4ca
parentaa0a8ef50e88e89a5c50dbf7ffc448a1a4315759
avcodec/dvdsub_parser: Check buf_size before reading 32bit packet size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 81c1657a593b1c0f8e46fca00ead1d30ee1cd418)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvdsub_parser.c