This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2008-07-15.20:21:01
SpamBayes Score 0.0013873209
Marked as misclassified No
Message-id <>
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.
Found using Rational Purify for windows.
A patch is provided.
Date User Action Args
2008-07-15 20:21:05kristjan.jonssonsetspambayes_score: 0.00138732 -> 0.0013873209
recipients: + kristjan.jonsson
2008-07-15 20:21:04kristjan.jonssonsetspambayes_score: 0.00138732 -> 0.00138732
messageid: <>
2008-07-15 20:21:03kristjan.jonssonlinkissue3367 messages
2008-07-15 20:21:02kristjan.jonssoncreate