libtt/isrepair.c: coverity CID 86705; uninit ptr read
authorJon Trulson <jon@radscan.com>
Sun, 1 Apr 2018 20:25:34 +0000 (14:25 -0600)
committerJon Trulson <jon@radscan.com>
Sun, 1 Apr 2018 20:25:34 +0000 (14:25 -0600)
cde/lib/tt/mini_isam/isrepair.c

index 5c046a00ad84611adedb2fc33b24ca24ecfc2cad..b223e8f091ed62d4725687f799b9638162ceb740 100644 (file)
@@ -94,7 +94,7 @@ isrepair(isfname, verbose)
   sigset_t    oldmask;
   sigset_t    allsignals;
   char       Buffer[BUFSIZ];
-  char       *buffer;
+  char       *buffer = NULL;
 
 
   print = verbose ? printf : isnoprintf;