[FFmpeg-devel] [PATCH] smvjpegdec: make sure cur_frame is not negative
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sat Nov 12 02:40:24 EET 2016
On 11.11.2016 01:58, Michael Niedermayer wrote:
> On Thu, Nov 10, 2016 at 10:14:04PM +0100, Andreas Cadhalpun wrote:
>> This fixes a heap-buffer-overflow detected by AddressSanitizer.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>> libavcodec/smvjpegdec.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>
> LGTM
Pushed.
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list