Fix bug 697140: Overflow check in ascii division in strtod.

This commit is contained in:
Tor Andersson
2016-09-21 15:21:04 +02:00
parent a3a4fe840b
commit 8c805b4eb1

View File

@@ -735,6 +735,7 @@ xx:
n -= c<<b;
*p++ = c + '0';
(*na)++;
if (*na >= Ndig) break; /* abort if overflowing */
}
*p = 0;
}