diff options
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")); |