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 bdkearns
Recipients bdkearns, pitrou, stutzbach, zach.ware
Date 2014-04-26.02:24:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398479050.42.0.656819371332.issue21349@psf.upfronthosting.co.za>
In-reply-to
Content
Are you aware of the old/new buffer interfaces and their usages? Did you actually try the code? "crash" would be obvious.

Objects that support only the new buffer interface define tp_as_buffer with fields representing the old buffer interface as null.

So, everywhere that uses the old buffer interface usually checks both tp_as_buffer != NULL and tp_as_buffer->bf_getreadbuffer != NULL. That second check is missing here before calling bf_getreadbuffer.
History
Date User Action Args
2014-04-26 02:24:10bdkearnssetrecipients: + bdkearns, pitrou, stutzbach, zach.ware
2014-04-26 02:24:10bdkearnssetmessageid: <1398479050.42.0.656819371332.issue21349@psf.upfronthosting.co.za>
2014-04-26 02:24:10bdkearnslinkissue21349 messages
2014-04-26 02:24:09bdkearnscreate