1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 20:53:13 +02:00

Fix read-after-free

This commit is contained in:
Bram Matthys
2021-05-22 14:59:54 +02:00
parent c0b86c757c
commit 8431cd43b2
+1
View File
@@ -263,6 +263,7 @@ CMD_FUNC(cmd_chathistory)
}
limit = atoi(parv[4]);
chathistory_targets(client, filter, limit);
goto end;
} else {
sendto_one(client, NULL, ":%s FAIL CHATHISTORY INVALID_PARAMS %s :Invalid subcommand", me.name, parv[1]);
goto end;