Enlightenment CVS committal Author : englebass Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: ecore_file.c Log Message: Check for NULL argument. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- ecore_file.c 13 Mar 2007 16:11:48 -0000 1.57 +++ ecore_file.c 25 Mar 2007 12:05:48 -0000 1.58 @@ -343,6 +343,8 @@ char *exe = NULL; int in_quot_dbl = 0, in_quot_sing = 0, restart = 0; + if (!app) return NULL; + p = (char *)app; restart: while ((*p) && (isspace(*p))) p++; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs