diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/charmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c index 9f2d8d4bf4..2f9e1b3a06 100644 --- a/locale/programs/charmap.c +++ b/locale/programs/charmap.c @@ -898,6 +898,7 @@ hexadecimal range format should use only capital characters")); char *name_end; obstack_printf (ob, decimal_ellipsis ? "%.*s%0*d" : "%.*s%0*X", prefix_len, from, len1 - prefix_len, cnt); + obstack_1grow (ob, '\0'); name_end = obstack_finish (ob); newp = (struct charseq *) obstack_alloc (ob, sizeof (*newp) + nbytes); |