summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVáclav Doležal <vdolezal@redhat.com>2020-02-21 14:02:51 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2020-02-22 22:30:58 +0100
commit92e86ba5787c42df8a057bdeac4560ca127535a4 (patch)
tree5cbd2982a17220944a8acabe41b1bc5a39f9b790
parent067c3ebca4e8160f82afa65672925323a4f27614 (diff)
downloadscreen-92e86ba5787c42df8a057bdeac4560ca127535a4.tar.gz
Expand d_xtermosc array in struct display
Commit c5db181 expands index range of "typ2" by one without expanding affected arrays. d_xtermosc in struct display is one of these. Related: c5db181b6e017cfccb8d7842ce140e59294d9f62 (ansi: add support for xterm OSC 11) Related: 68386dfb1fa33471372a8cd2e74686758a2f527b (Fix out of bounds access when setting w_xtermosc after OSC 49) Signed-off-by: Václav Doležal <vdolezal@redhat.com>
-rw-r--r--src/display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.h b/src/display.h
index 459cc5d..4fc2061 100644
--- a/src/display.h
+++ b/src/display.h
@@ -112,7 +112,7 @@ struct display
int d_mousetrack; /* set when user wants to use mouse even when the window
does not */
#ifdef RXVT_OSC
- int d_xtermosc[4]; /* osc used */
+ int d_xtermosc[5]; /* osc used */
#endif
struct mchar d_lpchar; /* missing char */
struct timeval d_status_time; /* time of status display */