Skip to content
Snippets Groups Projects
Commit d53fe096 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Alex Converse
Browse files

aacdec: Fix out of array writes (stack).


Set the element to channel vector (e2c_vec) size to be the maximum
number of aac channel elements. This makes it slightly larger than it
needs to be because CCEs are never mapped to output channel locations.

Also add a check that all input tags (legal or not) will fit.

Split from FFmpeg commit a8d67efa

Signed-off-by: default avatarAlex Converse <alex.converse@gmail.com>
parent 6294d708
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment