Fix size of flags output buffer.

pull/3223/head
nicm 2022-06-11 16:59:33 +00:00
parent 18a5835aff
commit 42ddf02ffc
1 changed files with 1 additions and 1 deletions

View File

@ -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)