diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-06 02:40:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-06 02:40:40 +0000 |
commit | c50ec4e093e109363a4d2f25dfe386249080325e (patch) | |
tree | e2659bbcf6663c6d1e68d85b82715a515bd733dd /locale | |
parent | d32ffbece9a6ba037fc2ede323dbf5c5a5da0485 (diff) | |
download | glibc-c50ec4e093e109363a4d2f25dfe386249080325e.zip glibc-c50ec4e093e109363a4d2f25dfe386249080325e.tar.gz glibc-c50ec4e093e109363a4d2f25dfe386249080325e.tar.bz2 |
(get_toplvl_escape): Recognize more than 4 bytes in escape sequence.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/linereader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 4be3701..01f5c9d 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -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")); |