mjpegdec: tighten unescaped_buf_size size check, prevent null ptr deref
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 19:27:29 +0000 (20:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 19:27:57 +0000 (20:27 +0100)
commita9456c7c5ca883b5a3947e59a9fba5587e18e119
tree1e015d07e7faad54dbe49948325a01d4edf37965
parentabe68364a3219f1a98c46bddea575e4cada147c7
mjpegdec: tighten unescaped_buf_size size check, prevent null ptr deref

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c