OSDN Git Service

avformat/rmdec: check that sub_packet_size fit in the packet for DEINT_ID_GENR
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Jan 2014 21:58:24 +0000 (22:58 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Jan 2014 23:26:33 +0000 (00:26 +0100)
commited1eb9602c962e2e7c5ef298c2e17c150dc2c912
treeff10229bf062777ce74c094d51fc393b28d91f8c
parent71fe97a60ad7dd6fe15238ca0eee1ed3121b5f80
avformat/rmdec: check that sub_packet_size fit in the packet for DEINT_ID_GENR

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