mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
(get_toplvl_escape): Recognize more than 4 bytes in escape sequence.
This commit is contained in:
parent
d32ffbece9
commit
c50ec4e093
@ -376,7 +376,8 @@ get_toplvl_escape (struct linereader *lr)
|
|||||||
|
|
||||||
bytes[nbytes++] = byte;
|
bytes[nbytes++] = byte;
|
||||||
}
|
}
|
||||||
while (ch == lr->escape_char && nbytes < 4);
|
while (ch == lr->escape_char
|
||||||
|
&& nbytes < sizeof (lr->token.val.charcode.bytes));
|
||||||
|
|
||||||
if (!isspace (ch))
|
if (!isspace (ch))
|
||||||
lr_error (lr, _("garbage at end of character code specification"));
|
lr_error (lr, _("garbage at end of character code specification"));
|
||||||
|
Loading…
Reference in New Issue
Block a user