diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:46:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:46:01 +0000 |
commit | f99ae3f90a40cab5ac45a299e82a8987b7264eab (patch) | |
tree | 46554594be2eb10da0f510e9135526d680637f6f /debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch | |
parent | Adding upstream version 4.8.0. (diff) | |
download | screen-debian.tar.xz screen-debian.zip |
Adding debian version 4.8.0-6.debian/4.8.0-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch')
-rw-r--r-- | debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch b/debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch new file mode 100644 index 0000000..863af93 --- /dev/null +++ b/debian/patches/90_Expand-d_xtermosc-array-in-struct-display.patch @@ -0,0 +1,30 @@ +Origin: 92e86ba5787c42df8a057bdeac4560ca127535a4 +From: Václav Doležal <vdolezal@redhat.com> +Date: Fri, 21 Feb 2020 14:02:51 +0100 +Bug: https://lists.gnu.org/archive/html/screen-devel/2020-02/msg00011.html +Description: 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> +--- + src/display.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/display.h ++++ b/display.h +@@ -112,7 +112,7 @@ + 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 */ |