From: Enlightenment C. <no...@cv...> - 2006-09-17 13:34:14
|
Enlightenment CVS committal Author : devilhorns Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop.c Log Message: Fix glibc invalid next size on free. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- ecore_desktop.c 16 Sep 2006 20:01:59 -0000 1.32 +++ ecore_desktop.c 17 Sep 2006 13:34:11 -0000 1.33 @@ -837,7 +837,7 @@ len += strlen(p); } free(params); - params = malloc(len); + params = malloc(len + 1); if (params) { params[0] = '\0'; |