[Mplayer-cvslog] CVS: 0_90/libmenu menu_console.c,1.4,1.5
Diego Biurrun CVS
syncmail at mplayerhq.hu
Thu Jul 1 12:22:29 CEST 2004
- Previous message: [Mplayer-cvslog] CVS: 0_90/Gui/skin font.c, 1.16, 1.17 skin.c, 1.23, 1.24
- Next message: [Mplayer-cvslog] CVS: 0_90 configure, 1.673, 1.674 playtree.c, 1.18, 1.19 subreader.c, 1.98, 1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/0_90/libmenu
In directory mail:/var2/tmp/cvs-serv26448/libmenu
Modified Files:
menu_console.c
Log Message:
string handling security fixes ported from main
Index: menu_console.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libmenu/menu_console.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- menu_console.c 27 Nov 2002 16:12:02 -0000 1.4
+++ menu_console.c 1 Jul 2004 10:22:27 -0000 1.5
@@ -148,8 +148,10 @@
return;
}
priv->lines[ll] = realloc(priv->lines[ll],strlen(priv->lines[ll]) + strlen(l) + 1);
- strcat(priv->lines[ll],l);
-
+ if ( priv->lines[ll] != NULL )
+ {
+ strcat(priv->lines[ll],l);
+ }
}
static void draw(menu_t* menu, mp_image_t* mpi) {
- Previous message: [Mplayer-cvslog] CVS: 0_90/Gui/skin font.c, 1.16, 1.17 skin.c, 1.23, 1.24
- Next message: [Mplayer-cvslog] CVS: 0_90 configure, 1.673, 1.674 playtree.c, 1.18, 1.19 subreader.c, 1.98, 1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list