aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/transcoding.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-16 21:25:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-25 15:06:54 +0200
commit6b1c8797f4640ac3ce7b10118d8eab74612171a2 (patch)
tree20f15b3392b873e8ea1763a214112cd99dee1e1c /doc/examples/transcoding.c
parent6458ee5af8f994f2f8e42a3a4a2f407b978103f4 (diff)
downloadffmpeg-6b1c8797f4640ac3ce7b10118d8eab74612171a2.tar.gz
ac3: validate end in ff_ac3_bit_alloc_calc_mask
This fixes an invalid read if end is 0: band_end = ff_ac3_bin_to_band_tab[end-1] + 1; Depending on what is before the array, this can cause stack smashing, when band_end becomes too large. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bc4fee7f2a51635fa3c0f61d1e5164da1efeded3) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples/transcoding.c')
0 files changed, 0 insertions, 0 deletions