homepage

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 mrabarnett
Recipients fijall, mrabarnett
Date 2012年03月07日.18:58:12
SpamBayes Score 2.3263372e-06
Marked as misclassified No
Message-id <1331146693.31.0.878267466642.issue14212@psf.upfronthosting.co.za>
In-reply-to
Content
In the function "getstring" in _sre.c, the code obtains a pointer to the characters of the buffer and then releases the buffer.
There's a comment before the release:
 /* Release the buffer immediately --- possibly dangerous
 but doing something else would require some re-factoring
 */
 PyBuffer_Release(&view);
What's happening is that after the mmap is closed the pointer is no longer valid.
History
Date User Action Args
2012年03月07日 18:58:13mrabarnettsetrecipients: + mrabarnett, fijall
2012年03月07日 18:58:13mrabarnettsetmessageid: <1331146693.31.0.878267466642.issue14212@psf.upfronthosting.co.za>
2012年03月07日 18:58:12mrabarnettlinkissue14212 messages
2012年03月07日 18:58:12mrabarnettcreate

AltStyle によって変換されたページ (->オリジナル) /