[MPlayer-dev-eng] [PATCHS] fix unsafe 'angle' and 'chapter' properties

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Sun Jul 13 12:48:48 CEST 2008


Hello,

The properties 'chapter' and 'angle' are unsafe. For example:

  $mplayer -idle -slave
   get_property chapter
or
   get_property angle

returns a segv because mpctx->demuxer is NULL and not tested.


patch 01.a fix for property angle
       01.b cosmetic

patch 02.a fix for property chapter
       02.b cosmetic


Regards,
--
Mathieu SCHROETER

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01.a.secure_property_angle.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080713/560fc70a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01.b.cosmetic_secure_property_angle.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080713/560fc70a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02.a.secure_property_chapter.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080713/560fc70a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02.b.cosmetic_secure_property_chapter.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080713/560fc70a/attachment-0003.bin>


More information about the MPlayer-dev-eng mailing list