diff options
Diffstat (limited to 'strings/dtoa.c')
-rw-r--r-- | strings/dtoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/dtoa.c b/strings/dtoa.c index f3498a7bb1e..c3ab347f94c 100644 --- a/strings/dtoa.c +++ b/strings/dtoa.c @@ -1410,7 +1410,7 @@ static double my_strtod_int(const char *s00, char **se, int *error, char *buf, s else if (nd < 16) z= 10*z + c - '0'; nd0= nd; - if (s < end - 1 && c == '.') + if (s < end && c == '.') { ++s; if (!nd) |