[FFmpeg-devel] [PATCH] libopenmpt: add missing avio_read return value check

Jörn Heusipp osmanx at problemloesungsmaschine.de
Mon Jan 9 21:20:19 EET 2017


On 01/01/2017 08:27 PM, Andreas Cadhalpun wrote:
> This fixes heap-buffer-overflows in libopenmpt caused by interpreting
> the negative size value as unsigned size_t.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
>  libavformat/libopenmpt.c | 5 +++++
>  1 file changed, 5 insertions(+)

Looks fine to me.

Regards,
Jörn



More information about the ffmpeg-devel mailing list