[Ffmpeg-cvslog] r7065 - trunk/libavcodec/flicvideo.c
Mike Melanson
mike
Tue Nov 14 20:25:12 CET 2006
alex wrote:
> Author: alex
> Date: Tue Nov 14 20:19:13 2006
> New Revision: 7065
>
> Modified:
> trunk/libavcodec/flicvideo.c
>
> Log:
> Fix possible overflows. Found by Steven Johnson
Can you explain how the following can overflow?
> - signed char byte_run;
> + int byte_run;
[...]
> - byte_run = buf[stream_ptr++];
> + byte_run = (signed char)(buf[stream_ptr++]);
I'm just having trouble seeing the difference.
--
-Mike Melanson
More information about the ffmpeg-cvslog
mailing list