diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2008-12-05 20:53:19 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2008-12-05 20:53:19 (GMT) |
| commit | b9e52b833746ebcaa9b4ee37725edeb1f26c0124 (patch) | |
| tree | 47fa6a6edc720ccdcfab0e6cc4b8fda5c7324df6 /Python | |
| parent | 3b87eb0d985288116924ca26aca091d74be89c45 (diff) | |
| download | cpython-b9e52b833746ebcaa9b4ee37725edeb1f26c0124.zip cpython-b9e52b833746ebcaa9b4ee37725edeb1f26c0124.tar.gz cpython-b9e52b833746ebcaa9b4ee37725edeb1f26c0124.tar.bz2 | |
Merged revisions 67595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r67595 | mark.dickinson | 2008-12-05 18:10:46 +0000 (Fri, 05 Dec 2008) | 9 lines
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)
........
................
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ast.c b/Python/ast.c index 424b601..aaf158f 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -3137,6 +3137,7 @@ parsenumber(struct compiling *c, const char *s) int imflag; #endif + assert(s != NULL); errno = 0; end = s + strlen(s) - 1; #ifndef WITHOUT_COMPLEX |
