From 194f8b5b74bc4b40a03781cdc71ce10d7a8cda66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 21 Nov 2020 21:08:11 +0100 Subject: [PATCH] core: increase command buffer size in /color command In case of long alias name, the command to set color alias could be truncated. --- src/core/wee-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 74ce478c2..e6e3d699c 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1437,7 +1437,7 @@ COMMAND_CALLBACK(buffer) COMMAND_CALLBACK(color) { char *str_alias, *str_rgb, *pos, *error; - char str_color[1024], str_command[1024]; + char str_color[1024], str_command[2048]; long number, limit; unsigned int rgb; int i;