From 4fe6985c175bd3e4d5b4d01f90c3be8186e2a1b8 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 5 Nov 2013 07:07:05 +0000 Subject: [PATCH] Fix bug introdiced into read_echo_cfg() which permitted unlimited line lengths. SAFECOPY() isn't anymore so don't. Thanks Access Denied for sticking with it. This one should be more workyer. --- src/sbbs3/rechocfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/rechocfg.c b/src/sbbs3/rechocfg.c index f0927e3c86..0551fdb9ae 100644 --- a/src/sbbs3/rechocfg.c +++ b/src/sbbs3/rechocfg.c @@ -378,7 +378,7 @@ void read_echo_cfg() if(!stricmp(tmp,"USEPACKER")) { /* Which packer to use */ if(!*p) continue; - SAFECOPY(str,p); + strcpy(str,p); p=str; SKIPCODE(p); if(!*p) @@ -430,7 +430,7 @@ void read_echo_cfg() if(!stricmp(tmp,"PKTTYPE")) { /* Packet Type to Use */ if(!*p) continue; - SAFECOPY(str,p); + strcpy(str,p); p=str; SKIPCODE(p); *p=0; -- GitLab