Thanks for the report. Forwarded upstream:
https://gitlab.gnome.org/GNOME/vte/-/issues/2631

** Bug watch added: gitlab.gnome.org/GNOME/vte/-/issues #2631
   https://gitlab.gnome.org/GNOME/vte/-/issues/2631

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte2.91 in Ubuntu.
https://bugs.launchpad.net/bugs/2022019

Title:
  Control sequence '\e]104;x\a' hangs in libvte

Status in vte2.91 package in Ubuntu:
  New

Bug description:
  The command:
  $ printf '\e]104;x\a'
  will cause either gnome-terminal or xfce4-terminal to enter an infinite loop 
inside libvte-2.91.so.0.

  I believe the problem is in src/vteseq.cc in the Terminal::reset_color
  function:

          while (token != endtoken) {
                  int value;
                  if (!token.number(value))
                          continue;

                  int index;
                  if (get_osc_color_index(osc, value, index) &&
                      index != -1) {
                          reset_color(index, VTE_COLOR_SOURCE_ESCAPE);
                  }

                  ++token;
          }

  When token doesn't point to a valid number, then "continue" bypasses
  the ++token line and will just re-parse the same token over again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vte2.91/+bug/2022019/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to