From a052cdfab616c461e71a9ade2fae69af1e3e6289 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 2 Apr 2011 19:21:20 +0200 Subject: [PATCH] Fix uninitialized stack variable in bextract --- bacula/src/stored/bextract.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/bextract.c b/bacula/src/stored/bextract.c index ca65673e6c..286c474c44 100644 --- a/bacula/src/stored/bextract.c +++ b/bacula/src/stored/bextract.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2010 Free Software Foundation Europe e.V. + Copyright (C) 2000-2011 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -411,7 +411,7 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) #ifdef HAVE_LIBZ if (extract) { uLong compress_len = compress_buf_size; - int stat; + int stat = Z_BUF_ERROR; if (rec->maskedStream == STREAM_SPARSE_GZIP_DATA) { ser_declare; -- 2.39.5