• Michael Niedermayer's avatar
    aacdec: Fix out of array writes (stack). · a8d67efa
    Michael Niedermayer authored
    This fixes an issue in the code to check the size that will
    be written to match the actual code writing. In the long
    term it would make sense to change this so the counting and
    writing code are the same so they dont need to be kept in sync.
    
    It also increases the array size, which was too small either way
    and adds a redudnant saftey check.
    
    This issue does not affect any FFmpeg release as it has been
    introduced Jan 31 which is narrowly after our last release.
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    a8d67efa
aacdec.c 98.4 KB