[FFmpeg-devel] [patch] regression by r24752 in rtsp.c [now rtspdec.c]: write past malloc'ed area and random sigsegv later

Martin Storsjö martin
Sun Nov 7 00:28:26 CET 2010


Hi,

On Sun, 7 Nov 2010, Yuriy Kaminskiy wrote:

> ==27728== Invalid write of size 4
> ==27728==    at 0x8321FE1: rtsp_read_packet (rtspdec.c:218)
> ==27728==  Address 0x671d470 is 8 bytes after a block of size 8 alloc'd
> ==27728==    at 0x401CBB2: memalign (vg_replace_malloc.c:532)
> ==27728==    by 0x401CC5F: posix_memalign (vg_replace_malloc.c:660)
> ==27728==    by 0x87173F5: av_mallocz (in /path/to/mplayer)

Thanks for the analysis and patch - applied.

// Martin



More information about the ffmpeg-devel mailing list