Merge branch 'obsd-master'

pull/3223/head
Thomas Adam 2022-06-10 16:01:11 +01:00
commit 56390e0a39
1 changed files with 2 additions and 0 deletions

View File

@ -2292,6 +2292,8 @@ input_exit_osc(struct input_ctx *ictx)
option = 0;
while (*p >= '0' && *p <= '9')
option = option * 10 + *p++ - '0';
if (*p != ';' && *p != '\0')
return;
if (*p == ';')
p++;