diff options
Diffstat (limited to 'community/mrxvt/CVE-2021-33477.patch')
-rw-r--r-- | community/mrxvt/CVE-2021-33477.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/mrxvt/CVE-2021-33477.patch b/community/mrxvt/CVE-2021-33477.patch new file mode 100644 index 00000000000..b1c6185a089 --- /dev/null +++ b/community/mrxvt/CVE-2021-33477.patch @@ -0,0 +1,41 @@ +--- mrxvt-0.5.4/src/command.c.orig ++++ mrxvt-0.5.4/src/command.c +@@ -207,7 +207,9 @@ + int rxvt_privcases (rxvt_t*, int, int, uint32_t); + void rxvt_process_terminal_mode (rxvt_t*, int, int, int, unsigned int, const int*); + void rxvt_process_sgr_mode (rxvt_t*, int, unsigned int, const int*); ++#if 0 + void rxvt_process_graphics (rxvt_t*, int); ++#endif + void rxvt_process_getc (rxvt_t*, int, unsigned char); + /*--------------------------------------------------------------------* + * END `INTERNAL' ROUTINE PROTOTYPES * +@@ -5029,10 +5031,12 @@ + rxvt_scr_add_lines(r, page, (const unsigned char *)"\n\r", 1, 2); + break; + ++#if 0 + /* kidnapped escape sequence: Should be 8.3.48 */ + case C1_ESA: /* ESC G */ + rxvt_process_graphics(r, page); + break; ++#endif + + /* 8.3.63: CHARACTER TABULATION SET */ + case C1_HTS: /* ESC H */ +@@ -6671,6 +6675,7 @@ + } + /*}}} */ + ++#if 0 + /*{{{ process Rob Nation's own graphics mode sequences */ + /* INTPROTO */ + void +@@ -6707,6 +6712,7 @@ + printable characters. */ + } + /*}}} */ ++#endif + + /* ------------------------------------------------------------------------- */ + |