OSDN Git Service

avformat/iff: shrink packets to the initialized data
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 00:32:48 +0000 (01:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 00:34:14 +0000 (01:34 +0100)
commit2b31a9c613f95383d5106f8c1cbcee8eb291090f
tree649d50ce5610c633ee2af6f54844e1701034abd8
parentb2361cfb94738298a6c4037cc348fe5015efb841
avformat/iff: shrink packets to the initialized data

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