[MPlayer-dev-eng] [PATCH] fix segfault on afs demuxer (bugzilla #956)

Roberto Togni rxt at rtogni.it
Sun Jan 27 23:01:11 CET 2008


On Sun, 20 Jan 2008 16:57:12 +0100
Roberto Togni <rxt at rtogni.it> wrote:

> Hi all,
>  this patch fixes a segfault (read outside the p[] buffer) caused by
> the sample provided in bugzilla #956.
> 
> It also add checks to all the reads from the p[] buffer.
> 
> If you have broken but playable asf/wmv files, please test if it works
> or it's too picky.
> 

Fixed patch attached.

Ciao,
 Roberto

-- 
Better is the enemy of good enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_asf.c.diff
Type: text/x-patch
Size: 4323 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080127/0f3c30cf/attachment.bin>


More information about the MPlayer-dev-eng mailing list