avcodec/sanm: Reset sizes in destroy_buffers()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jul 2015 14:05:21 +0000 (16:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jul 2015 14:06:37 +0000 (16:06 +0200)
commit39bbdebb1ed8eb9c9b0cd6db85afde6ba89d86e4
tree61276f310634e1655795655ef10b49e385fd8766
parentf7068bf277a37479aecde2832208d820682b35e6
avcodec/sanm: Reset sizes in destroy_buffers()

Fixes crash in 1288a2fe8e9ae6b00ca40e089d08ca65_signal_sigsegv_7ffff71426a7_354_accident.san with allocation limit 65536

Found-by: Samuel GroƟ, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/sanm.c