diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-13 22:31:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-13 23:32:45 +0100 |
commit | f5cf0ea93a55f43b553aa7d6698936e48c6a94df (patch) | |
tree | 0a3783992fc12c29df7c563a1d5fa7fe2de1e3ef /libavformat/asf.h | |
parent | 0f242e62b4b4f4da08b4e8e49aa1e4c2900a51f6 (diff) | |
download | ffmpeg-f5cf0ea93a55f43b553aa7d6698936e48c6a94df.tar.gz |
avformat/asf: clear uninitialized areas of packets before returning them
Fixes use of uninitialized variables
Fixes msan_uninit-mem_7f839282b6ce_7273_msn08_VBRq70_800x600.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asf.h')
-rw-r--r-- | libavformat/asf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asf.h b/libavformat/asf.h index 904d3486e8..acad64dfd7 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -43,6 +43,7 @@ typedef struct ASFStream { int timestamp; int64_t duration; int skip_to_key; + int pkt_clean; int ds_span; /* descrambling */ int ds_packet_size; |