[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH for master] Expand d_xtermosc array in struct Disp
From: |
Václav Doležal |
Subject: |
[screen-devel] [PATCH for master] Expand d_xtermosc array in struct Display |
Date: |
Fri, 21 Feb 2020 14:02:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
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 <address@hidden>
---
src/display.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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?
*/
--
2.20.1
- [screen-devel] [PATCH for master] Expand d_xtermosc array in struct Display,
Václav Doležal <=