[FFmpeg-devel] [PATCH] avformat/aacdec: fix demuxing of very small frames

James Almer jamrial at gmail.com
Sun May 5 00:41:51 EEST 2019


On 4/25/2019 7:04 PM, James Almer wrote:
> 10 bytes (id3v2 header amount of bytes) were being read before any checks
> were made on the bitstream. The result was that we were overreading into
> the next frame if the current one was 8 or 9 bytes long.
> 
> Fixes tickets #7271 and #7869.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavformat/aacdec.c | 34 +++++++++++++++++++++-------------
>  1 file changed, 21 insertions(+), 13 deletions(-)

Will push soon.


More information about the ffmpeg-devel mailing list