]> Dogcows Code - chaz/tar/commitdiff
(sys_exec_info_script): Initialize buf. Problem reported by Bengt-Arne Fjellner.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 29 Oct 2007 08:51:46 +0000 (08:51 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 29 Oct 2007 08:51:46 +0000 (08:51 +0000)
src/system.c

index ba1d191e0824473a73b72ac2334804b497b6677e..a2778332d1092ffe9d7800dc90f930a9e38a66f6 100644 (file)
@@ -785,7 +785,7 @@ sys_exec_info_script (const char **archive_name, int volume_number)
 
       int rc;
       int status;
-      char *buf;
+      char *buf = NULL;
       size_t size = 0;
       FILE *fp;
 
This page took 0.029681 seconds and 4 git commands to generate.