[MPlayer-dev-eng] [PATCH] Fix crash for playlist with no newline

Roberto Togni rxt at rtogni.it
Tue Mar 13 23:36:17 CET 2007


Hi all.

The attached sample playlist crashes MPlayer.
The bug is not related to smil, every valid playlist header can be used
to reproduce the crash, as long as the second line ends with no newline.
This does not happen for the 3rd line or other lines.

The bug is related to the user of playtree_stop_keeping(), that is
called after finding a valid playlist header.

The attached patch fixes it, if you're familiar with the playlist code
please review it. I'll apply it soon.

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: playfix.diff
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070313/ed1faf56/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samplecrash.smil
Type: application/smil
Size: 10 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070313/ed1faf56/attachment.smil>


More information about the MPlayer-dev-eng mailing list