diff options
Diffstat (limited to 'pom.c')
-rw-r--r-- | pom.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1689,6 +1689,7 @@ parse_int(const char *s, int64_t *val) { static bool parse_double(const char *s, double *val) { bool can_have_dot = true; + if (*s == 0) return false; for (const char *p = s; *p; p++) { char c = *p; if (c == '-' || c == '+') { |