]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
forgot to give strlcat a size
[xonotic/darkplaces.git] / host_cmd.c
index dab3c3c16ca31279992b76012bd95c99c7093648..3a2ee9192ee08721323beaad4fc9b4e61e21d365 100644 (file)
@@ -833,7 +833,7 @@ void Host_Say(qboolean teamonly)
                p2[-1] = 0;
                p2--;
        }
-       strlcat(text, "\n");
+       strlcat(text, "\n", sizeof(text));
 
        // note: save is not a valid edict if fromServer is true
        save = host_client;