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 pitrou
Recipients loewis, pitrou
Date 2010-05-01.18:04:33
SpamBayes Score 0.0012517078
Marked as misclassified No
Message-id <1272737075.21.0.258918022173.issue8592@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the 'y' format (PyArg_ParseTuple and friends) states that:

« The bytes object must not contain embedded NUL bytes; if it does, a TypeError exception is raised. »

But, reading Python/getargs.c, the strlen() check is actually missing in the code for 'y'.
History
Date User Action Args
2010-05-01 18:04:35pitrousetrecipients: + pitrou, loewis
2010-05-01 18:04:35pitrousetmessageid: <1272737075.21.0.258918022173.issue8592@psf.upfronthosting.co.za>
2010-05-01 18:04:33pitroulinkissue8592 messages
2010-05-01 18:04:33pitroucreate