Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ipc.c Log Message: Fix segv on logout (thanks to Christian Klein). =================================================================== RCS file: /cvs/e/e16/e/src/ipc.c,v retrieving revision 1.296 retrieving revision 1.297 diff -u -3 -r1.296 -r1.297 --- ipc.c 6 Mar 2007 03:33:31 -0000 1.296 +++ ipc.c 12 Mar 2007 03:33:51 -0000 1.297 @@ -911,7 +911,8 @@ param1[0] = 0; l = 0; - sscanf(params, "%1000s %n", param1, &l); + if (params) + sscanf(params, "%1000s %n", param1, &l); p2 = (l > 0) ? params + l : NULL; if (!param1[0]) ------------------------------------------------------------------------- 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