file.patch 329 B

123456789101112
  1. Index: src/apprentice.c
  2. --- src/apprentice.c.orig 2007-01-19 20:54:39 +0100
  3. +++ src/apprentice.c 2007-03-03 18:03:23 +0100
  4. @@ -533,6 +533,7 @@
  5. file_oomem(ms, maxmagic * sizeof(*marray));
  6. return -1;
  7. }
  8. + memset(marray, 0, maxmagic * sizeof(*marray));
  9. marraycount = 0;
  10. /* print silly verbose header for USG compat. */