diff options
Diffstat (limited to 'mpfr.c')
-rw-r--r-- | mpfr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ force_mpnum(NODE *n, int do_nondec, int use_locale) IEEE_FMT(n->mpg_numbr, tval); done: /* trailing space is OK for NUMBER */ - while (isspace((unsigned char) *ptr)) + while (ptr < cpend && isspace((unsigned char) *ptr)) ptr++; *cpend = save; if (errno == 0 && ptr == cpend) |