1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/mrxvt/CVE-2021-33477.patch
2021-05-31 18:04:09 -06:00

41 lines
1.2 KiB
Diff

--- 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
/* ------------------------------------------------------------------------- */