From: Jon Trulson Date: Sun, 1 Apr 2018 20:25:34 +0000 (-0600) Subject: libtt/isrepair.c: coverity CID 86705; uninit ptr read X-Git-Tag: 2.2.4a~145 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=78110e79216a3103ab78914df214570d14c8e9aa;p=oweals%2Fcde.git libtt/isrepair.c: coverity CID 86705; uninit ptr read --- diff --git a/cde/lib/tt/mini_isam/isrepair.c b/cde/lib/tt/mini_isam/isrepair.c index 5c046a00..b223e8f0 100644 --- a/cde/lib/tt/mini_isam/isrepair.c +++ b/cde/lib/tt/mini_isam/isrepair.c @@ -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;