Kaydet (Commit) 422ce06b authored tarafından Mark Dickinson's avatar Mark Dickinson

Issue #4461: Safety check in parsenumber (ast.c)

üst f7f1fb68
......@@ -3184,6 +3184,7 @@ parsenumber(struct compiling *c, const char *s)
int imflag;
#endif
assert(s != NULL);
errno = 0;
end = s + strlen(s) - 1;
#ifndef WITHOUT_COMPLEX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment