[MPlayer-dev-eng] [PATCH] libmenu: fill allocated memory for path variable with 0, fixes menu_keepdir

Guillaume LECERF foxcore at gmail.com
Tue Jun 3 14:45:11 CEST 2008


On Tue, Jun 3, 2008 at 2:27 PM, Guillaume LECERF <foxcore at gmail.com> wrote:
>    freepath = path;
>    path[st.st_size] = '\0';

Further simplifications.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-menu_keepdir.diff
Type: text/x-diff
Size: 635 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080603/8f656cfa/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-menu_keepdir-remove-braces.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080603/8f656cfa/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list