Staging
v0.5.1
https://github.com/python/cpython
Revision efa61bc15f325bb94d147b8641031d1774fb7a5c authored by Andrew M. Kuchling on 05 August 2008, 01:38:08 UTC, committed by Andrew M. Kuchling on 05 August 2008, 01:38:08 UTC
If a PyTokenizer_FromString() is called with an empty string, the
tokenizer's line_start member never gets initialized.  Later, it is
compared with the token pointer 'a' in parsetok.c:193 and that behavior
can result in undefined behavior.
1 parent 10288e1
History
Tip revision: efa61bc15f325bb94d147b8641031d1774fb7a5c authored by Andrew M. Kuchling on 05 August 2008, 01:38:08 UTC
#3367 from Kristjan Valur Jonsson:
Tip revision: efa61bc
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.5 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 37.6 KB
README -rw-r--r-- 55.8 KB
configure -rwxr-xr-x 661.7 KB
configure.in -rw-r--r-- 102.5 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
setup.py -rw-r--r-- 79.6 KB

README

back to top