]> git.wh0rd.org - dump.git/blobdiff - restore/main.c
Fix maps overflow in restore when doing incremental restores (and MAXINO becomes...
[dump.git] / restore / main.c
index 723a88f00ebf98348fb626b8b7569df99d343faf..c8c76a9536b8dd9818c336b65946e311e5401fea 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.41 2002/07/19 14:57:39 stelian Exp $";
+       "$Id: main.c,v 1.42 2002/11/15 09:25:41 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
 #endif /* not lint */
 
 #include <config.h>
@@ -90,8 +90,8 @@ char  command = '\0';
 long   dumpnum = 1;
 long   volno = 0;
 long   ntrec;
 long   dumpnum = 1;
 long   volno = 0;
 long   ntrec;
-char   *dumpmap;
-char   *usedinomap;
+char   *dumpmap = NULL;
+char   *usedinomap = NULL;
 dump_ino_t maxino;
 time_t dumptime;
 time_t dumpdate;
 dump_ino_t maxino;
 time_t dumptime;
 time_t dumpdate;