fix for package/config/util.c
here is the correct diff:
diff -Naur package/config/util.c.old package/config/util.c
config/util.c 2011-03-30 17:42:26.911184273 +0200 renamed from config/util.c.old 2011-03-30 17:37:08.016057639 +0200 +2 -2
@@ -35,12 +35,12 @@ char *ret; if (len < 1) return NULL; - ret = malloc(len); + ret = malloc(len+1); if (!ret) { printf("Out of memory!"); exit(1); } - memset(ret, 0, len); + memset(ret, 0, len+1); i = j = 0; if (strncmp("BR2_", in, 4) == 0) i += 4;
Signature · 2 lines
NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone