Control sequence '\e]104;x\a' hangs in libvte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vte2.91 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
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:
while (token != endtoken) {
int value;
if (!token.
int index;
if (get_osc_
}
}
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.
Thanks for the report. Forwarded upstream: https:/ /gitlab. gnome.org/ GNOME/vte/ -/issues/ 2631