[FFmpeg-devel] [patch] regression by r24752 in rtsp.c [now rtspdec.c]: write past malloc'ed area and random sigsegv later
Luca Barbato
lu_zero
Sun Nov 7 00:28:20 CET 2010
On 11/06/2010 11:43 PM, Yuriy Kaminskiy wrote:
> Hello!
> $subj. Test command:
> valgrind mplayer -nocache "ffmpeg://`curl \
> http://www.rferl.org/realaudio/c4.ram|tr -d '\r'|head -1`?tcp"
>
> ==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)
>
Thank you, Martin already committed your patch
http://git.ffmpeg.org/?p=ffmpeg;a=commit;h=b425db6caa51e403101b02196b84a94b46450765
lu
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list