Files
rxvt-unicode/rxvt-unicode-hardening.patch
Marcus Rueckert 8c725baae2 Accepting request 893585 from home:pevik:branches:X11:terminals
- Update to 9.26
	- ev_iouring.c was wrongly required during compilation, and wrongly
          not packaged.
- Update to 9.25
	- for the 17.5th anniversary, and because many distributions seem to
          remove rxvt in favour of urxvt, this release resurrects rclock as
          urclock.
	- add support for systemd socket-based activation - debian bug #917105,
	  freebsd bug #234276.
	- do not destruct perl on exit anymore: this might fail for a variety of
          reasons, and takes unneccessary time.
        - remove any macros from urxvtperl manpage(s), should fix debian
          bug 858385.
	- the old bg image resources are now provided by the background
	  extension, and perl is thus required for bg image support. No
	  configuration change is needed: urxvt autoloads the background
	  ext if any bg image resource/option is present (for OSC sequences to
          work you need to enable it explicity). The old bg image
	  resources are also now deprecated; users are encouraged to
	  switch to the new bg image interface (see man urxvt-background).
        - confirm-paste now checks for any ctlchars, not just newlines.
        - searchable scrollback will now ignore bracketed paste mode sequences
          (prompted by Daniel Gröber's patch).
	- drop ISO 2022 locale support. ISO 2022 encodings are not supported in
          POSIX locales and clash with vt100 charset emulation (the luit
          program can be used as a substitute).
        - perl didn't parse rgba colours specified as an array correctly,
          only allowing 0 and 100% intensity for each component (this affected
          fill and tint).
        - when iterating over resources, urxvt will now try to properly handle

OBS-URL: https://build.opensuse.org/request/show/893585
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/rxvt-unicode?expand=0&rev=53
2021-05-17 10:29:52 +00:00

13 lines
477 B
Diff

diff -ru rxvt-unicode-9.22/src/command.C rxvt-unicode-9.22-patched/src/command.C
--- rxvt-unicode-9.22/src/command.C 2016-01-18 20:35:08.000000000 +0100
+++ rxvt-unicode-9.22-patched/src/command.C 2017-04-28 09:52:35.440245607 +0200
@@ -2842,7 +2842,7 @@ rxvt_term::process_csi_seq ()
i = ch - CSI_ICH;
ndef = get_byte_array_bit (csi_defaults, i);
for (p = 0; p < nargs; p++)
- if (arg[p] == -1)
+ if (arg[p] < 0 || arg[p] > 30000)
arg[p] = ndef;
/*