commit | efa61bc15f325bb94d147b8641031d1774fb7a5c | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Tue Aug 05 01:38:08 2008 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Tue Aug 05 01:38:08 2008 +0000 |
tree | 421fbc846042116d4fceff54233c8d45a01cf58a | |
parent | 10288e19bf09ae79923794ed50da60af7eb5e3a1 [diff] |
#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.