FFmpeg/libavcodec
Andreas Cadhalpun bc4fee7f2a 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>
2015-04-16 21:37:16 +02:00
..
2015-03-06 14:37:44 +01:00
2015-03-10 23:33:57 +01:00
2015-03-14 14:05:25 +01:00
2015-03-02 19:32:23 +01:00
2015-04-10 12:38:03 +02:00
2015-04-10 03:11:40 +02:00
2015-04-15 09:48:47 +02:00
2015-02-24 03:15:42 +01:00
2015-03-16 13:04:47 +01:00
2015-03-23 20:53:29 +00:00
2015-03-15 02:57:24 +01:00
2015-04-02 16:04:22 +02:00