summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2022-06-11 16:59:33 +0000
committernicm <nicm>2022-06-11 16:59:33 +0000
commit42ddf02ffce2002ed5ded5e03e1a51516fc2d710 (patch)
treee7f79a244748929ac60fe9f3f4bf9c19d68ee556 /input.c
parent18a5835affc3fef58f673a8feeb128cf4132525e (diff)
Fix size of flags output buffer.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 05654124..d4ffe784 100644
--- a/input.c
+++ b/input.c
@@ -2696,7 +2696,7 @@ input_osc_52(struct input_ctx *ictx, const char *p)
struct screen_write_ctx ctx;
struct paste_buffer *pb;
const char* allow = "cpqs01234567";
- char flags[sizeof allow] = "";
+ char flags[sizeof "cpqs01234567"] = "";
u_int i, j = 0;
if (wp == NULL)