--- a/dict.c Sun Aug 19 11:23:57 2007 +0200
+++ b/dict.c Tue Aug 28 01:01:49 2007 +0200
@@ -151,8 +151,9 @@
char *out;
fseek(fdefs, offset, SEEK_SET);
- out = (char *) malloc(length);
+ out = (char *) malloc(length+1);
fread(out, length, 1, fdefs);
+ out[length] = 0;
return out;
}