Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2008-07-15.20:21:01
SpamBayes Score 0.00138732
Marked as misclassified No
Message-id <1216153264.95.0.467111480464.issue3367@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1216153264.95.0.467111480464.issue3367@psf.upfronthosting.co.za>
2008-07-15 20:21:03kristjan.jonssonlinkissue3367 messages
2008-07-15 20:21:02kristjan.jonssoncreate