From eb59c14a1f4cd1ff9d0d41500e35158d6ead5cf3 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 29 Oct 2007 08:51:46 +0000 Subject: [PATCH] (sys_exec_info_script): Initialize buf. Problem reported by Bengt-Arne Fjellner. --- src/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.c b/src/system.c index ba1d191..a277833 100644 --- a/src/system.c +++ b/src/system.c @@ -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; -- 2.45.2