Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2008-07-15.20:21:01
SpamBayes Score 0.00138732
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.00138732
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