diff options
author | Václav Doležal <vdolezal@redhat.com> | 2020-02-21 14:02:27 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2020-02-22 22:30:40 +0100 |
commit | b14e76eb5d6be889d58e37e420384e59a74eddd6 (patch) | |
tree | f9ceda8914ace9dd47e80619d780c9c4887cdee8 | |
parent | bfb05c34ba1f961a15ccea04c51444003ba22e57 (diff) | |
download | screen-b14e76eb5d6be889d58e37e420384e59a74eddd6.tar.gz |
Expand d_xtermosc array in struct Display
Commit 7059bff expands index range of "typ2" by one without expanding
affected arrays. d_xtermosc in struct display is one of these.
Related: 7059bff20a28778f9d3acf81cad07b1388d02309
(ansi: add support for xterm OSC 11)
Related: eb2be1adf92d58bd8f4ca3458eb04da38bf33c2b
(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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.h b/src/display.h index 0caaca1..531b9c8 100644 --- a/src/display.h +++ b/src/display.h @@ -124,7 +124,7 @@ struct Display { does not */ int d_bracketed; /* bracketed paste mode */ int d_cursorstyle; /* cursor style */ - int d_xtermosc[4]; /* osc used */ + int d_xtermosc[5]; /* osc used */ struct mchar d_lpchar; /* missing char */ struct timeval d_status_time; /* time of status display */ DisplayStatus d_status; /* is status displayed? */ |