--- gnome-libs-1.4.2/libgnome/gnome-magic.c 2000-03-06 16:37:04.000000000 +0000 +++ gnome-libs-1.4.2/libgnome/gnome-magic.c 2007-02-13 11:36:18.000000000 +0000 @@ -188,6 +188,7 @@ while(fgets(aline, sizeof(aline), infile)) { curpos = aline; + memset(&newent, 0, sizeof(newent)); while(*curpos && isspace(*curpos)) curpos++; /* eat the head */ if(!isdigit(*curpos)) continue;