- scan.c: replaced strcat() with strlcat()
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 23 Dec 2014 21:00:14 +0000 (21:00 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 23 Dec 2014 21:00:14 +0000 (21:00 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5098 82007160-df01-0410-b94d-b575c5fd34c7

src/scan.c

index 0e4993e5fd631999d9f910f2669ce4845235f408..81342c15ec26eb91d98f3abed8b6e97455f1f383 100644 (file)
@@ -949,7 +949,7 @@ static void scan_irckline(struct scan_struct *ss, const char *format, const char
                            break;
                         else
                         {
-                           strcat(message, table[i].data);
+                           strlcat(message, table[i].data, sizeof(message));
                            len += size;
                         }