OSDN Git Service

avformat/pva: Make sure the header is large enough before reading the timestamp from it
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Dec 2013 17:07:30 +0000 (18:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Dec 2013 22:04:51 +0000 (23:04 +0100)
commiteedd9148733ff4467c62092ad1c1a26d6125b249
tree755a97e7fa045c5723f76d6be9c5ba5e12a14a60
parent5ec3c7b7c1189dca0ba29edbd33b5dbe68313382
avformat/pva: Make sure the header is large enough before reading the timestamp from it

Fixes use of uninitialized memory
Fixes: msan_uninit-mem_7f34b5dc6d58_2674_PVA_test-partial.pva
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/pva.c