[FFmpeg-devel] [PATCH v2] libavformat/asfdec: Fix regression bug when reading image attachments
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Aug 8 22:02:28 EEST 2021
Am So., 8. Aug. 2021 um 03:40 Uhr schrieb Soft Works <softworkz at hotmail.com>:
> When I do this:
>
> if (value_len < 0 || value_len >= (INT_MAX - LEN) / 2)
> return AVERROR_INVALIDDATA;
>
> Shouldn't we return a different error code? Actually this is not about invalid
> data but about a limitation in the implementation..
It is definitely invalid data.
Carl Eugen
More information about the ffmpeg-devel
mailing list