Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Jul 2011 12:59:54 +0000 (14:59 +0200)
committerReinhard Tartler <siretart@tauware.de>
Tue, 27 Sep 2011 21:14:05 +0000 (23:14 +0200)
commit77d2ef13a8fa630e5081f14bde3fd20f84c90aec
treea26e80f078c4e720178b4d5e66edfe5dad1d40a1
parenta9a033773a49a090c8247a628d86b172d357ca41
Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.

Whitespace of the patch cleaned up by Aurel
Some of the issues have been reported by Steve Manzuik / Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 956c901c68eff78288f40e3c8f41ee2fa081d4a8)

Further suggestions from Kostya <kostya.shishkov@gmail.com> have been
implemented by Reinhard Tartler <siretart@tauware.de>

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/matroskadec.c