mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08: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;
|
||||
}
|
||||
while (ch == lr->escape_char && nbytes < 4);
|
||||
while (ch == lr->escape_char
|
||||
&& nbytes < sizeof (lr->token.val.charcode.bytes));
|
||||
|
||||
if (!isspace (ch))
|
||||
lr_error (lr, _("garbage at end of character code specification"));
|
||||
|
Loading…
Reference in New Issue
Block a user