From 5438ab5d921fba9d4c20f847d7e2c3271c77ce40 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Mon, 28 Jun 2021 18:07:20 -0700 Subject: [PATCH] Initialize local variable 'str' in scanallsubs(). Fixes issue #276 --- src/sbbs3/scansubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/scansubs.cpp b/src/sbbs3/scansubs.cpp index 33e49477d9..697842acff 100644 --- a/src/sbbs3/scansubs.cpp +++ b/src/sbbs3/scansubs.cpp @@ -133,7 +133,7 @@ void sbbs_t::scansubs(long mode) /****************************************************************************/ void sbbs_t::scanallsubs(long mode) { - char str[256]; + char str[256] = ""; char tmp[512]; uint i,j,found=0; ulong subs_scanned=0; -- GitLab