Fix crash in MLP decoder due to integer overflow.
authorReinhard Tartler <siretart@tauware.de>
Thu, 11 Feb 2010 21:03:30 +0000 (21:03 +0000)
committerReinhard Tartler <siretart@tauware.de>
Thu, 11 Feb 2010 21:03:30 +0000 (21:03 +0000)
commit9593c80062e97b819a016dc36b6060d29667efaf
tree22437c15e3ed5328a51703ce228d3bbb8d2db062
parent48b98cdc677370b8251b0491820ce695b7d76a23
Fix crash in MLP decoder due to integer overflow.
Probably only DoS, init_get_bits sets buffer to NULL, thus causing a
NULL-dereference directly after.

backport r21426 by reimar

Originally committed as revision 21759 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
libavcodec/mlpdec.c