mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
Merged revisions 67590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r67590 | mark.dickinson | 2008-12-05 17:59:46 +0000 (Fri, 05 Dec 2008) | 2 lines Issue #4461: Safety check in parsenumber (ast.c) ........
This commit is contained in:
parent
2fcd9a27e5
commit
514624d29e
1 changed files with 1 additions and 0 deletions
|
@ -3177,6 +3177,7 @@ parsenumber(struct compiling *c, const char *s)
|
||||||
int imflag;
|
int imflag;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
assert(s != NULL);
|
||||||
errno = 0;
|
errno = 0;
|
||||||
end = s + strlen(s) - 1;
|
end = s + strlen(s) - 1;
|
||||||
#ifndef WITHOUT_COMPLEX
|
#ifndef WITHOUT_COMPLEX
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue