]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#3367 from Kristjan Valur Jonsson:
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 5 Aug 2008 01:38:08 +0000 (01:38 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 5 Aug 2008 01:38:08 +0000 (01:38 +0000)
commitefa61bc15f325bb94d147b8641031d1774fb7a5c
tree421fbc846042116d4fceff54233c8d45a01cf58a
parent10288e19bf09ae79923794ed50da60af7eb5e3a1
#3367 from Kristjan Valur Jonsson:
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.
Parser/tokenizer.c