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>
Tue, 5 Aug 2014 02:14:02 +0000 (04:14 +0200)
commitce248bf7ee4e03d997faef00d1eae60c520f278c
tree31589848a9be05179026f70b845a81d3efd8f6de
parent8eaefbe1beb551480c68f24d9d5c84bfbc27b465
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