ws_snd1: Fix wrong samples count and crash.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Dec 2011 23:10:27 +0000 (00:10 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:29 +0000 (18:33 +0200)
commite676bbb8cfb7401cfc189a88c61e7e7c22557fa7
tree247f0b43f44d7ba4f6544f4a5d943bf9a23d9a24
parent847c7cd0c8795bb68e8729f74969aa49a5dc10ad
ws_snd1: Fix wrong samples count and crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9fb7a5af97d8c084c3af2566070d09eae0ab49fc)

Addresses CVE-2012-0848

Reviewed-by: Justin Ruggles <justin.ruggles@gmail.com>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 697a45d861b7cd6a96718383a44f41348487f844)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/ws-snd1.c