SwordArMor-gentoo-overlay/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch
Alarig Le Lay 9d6bdb9312
x11-terms/rxvt-unicode: graphics CVE
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2021-05-21 09:22:25 +02:00

12 lines
403 B
Diff

--- a/src/command.C
+++ b/src/command.C
@@ -2695,7 +2695,7 @@
/* kidnapped escape sequence: Should be 8.3.48 */
case C1_ESA: /* ESC G */
// used by original rxvt for rob nations own graphics mode
- if (cmd_getc () == 'Q')
+ if (cmd_getc () == 'Q' && option (Opt_insecure))
tt_printf ("\033G0\012"); /* query graphics - no graphics */
break;