Commit 9def5c46 authored by Committed by Reinhard Tartler
shorten: Use separate pointers for the allocated memory for decoded samples.
Fixes invalid free() if any of the buffers are not allocated due to either not decoding a header or an error prior to allocating all buffers. Fixes CVE-2012-0858 CC: email@example.com Signed-off-by: Michael Niedermayer <firstname.lastname@example.org> Signed-off-by: Justin Ruggles <email@example.com> (cherry picked from commit 204cb29b) Signed-off-by: Reinhard Tartler <firstname.lastname@example.org>
Showing with 8 additions and 6 deletions