From b47d66677e4772467d89831b6f7217cca00b0f4e Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 6 Sep 2005 18:50:47 +0000
Subject: [PATCH] strcpy() not strcat()

---
 src/sbbs3/unbaja.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/unbaja.c b/src/sbbs3/unbaja.c
index d8c2b41db8..a31d7a40ef 100644
--- a/src/sbbs3/unbaja.c
+++ b/src/sbbs3/unbaja.c
@@ -2158,7 +2158,7 @@ int main(int argc, char **argv)
 			p=strrchr(newname, '.');
 			if(p==NULL)
 				p=strchr(newname,0);
-			strcat(p,".decompiled");
+			strcpy(p,".decompiled");
 			src=fopen(newname,"w");
 			if(src != NULL) {
 				printf("Decompiling %s to %s\n",argv[f],newname);
-- 
GitLab