New submission from Kristján Valur Jónsson <[EMAIL PROTECTED]>: 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.
---------- files: tmp1.patch keywords: easy, patch, patch messages: 69714 nosy: krisvale severity: normal status: open title: Uninitialized value read in parsetok.c type: crash versions: Python 2.5, Python 2.6 Added file: http://bugs.python.org/file10898/tmp1.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3367> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com