mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -05:00
Alain Guibert points out that ESC]P sequences were erroneously
accepting 'G' as a hex digit. (The _first_ digit of the sequence intentionally goes up further than F, but the remaining ones shouldn't have.) [originally from svn r6581]
This commit is contained in:
parent
fdee25e1f6
commit
18509f8422
@ -4093,7 +4093,7 @@ static void term_out(Terminal *term)
|
|||||||
break;
|
break;
|
||||||
case SEEN_OSC_P:
|
case SEEN_OSC_P:
|
||||||
{
|
{
|
||||||
int max = (term->osc_strlen == 0 ? 21 : 16);
|
int max = (term->osc_strlen == 0 ? 21 : 15);
|
||||||
int val;
|
int val;
|
||||||
if ((int)c >= '0' && (int)c <= '9')
|
if ((int)c >= '0' && (int)c <= '9')
|
||||||
val = c - '0';
|
val = c - '0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user