summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-08-05 01:38:08 +0000
committerAndrew M. Kuchling <amk@amk.ca>2008-08-05 01:38:08 +0000
commitefa61bc15f325bb94d147b8641031d1774fb7a5c (patch)
tree421fbc846042116d4fceff54233c8d45a01cf58a /Python/codecs.c
parent10288e19bf09ae79923794ed50da60af7eb5e3a1 (diff)
downloadcpython-git-efa61bc15f325bb94d147b8641031d1774fb7a5c.tar.gz
#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.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions