Commit 204cb29b authored by Committed by Justin Ruggles
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: firstname.lastname@example.org Signed-off-by: Michael Niedermayer <email@example.com> Signed-off-by: Justin Ruggles <firstname.lastname@example.org>
Showing with 8 additions and 6 deletions