- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | serhiy.storchaka |
|---|---|
| Recipients | larry, serhiy.storchaka |
| Date | 2014-01-06.14:05:52 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1389017153.04.0.847004275231.issue20142@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Argument Clinic doesn't initialize Py_buffer parameters. It generates cleanup code:
/* Cleanup for data */
if (data.buf)
PyBuffer_Release(&data);
And if PyArg_ParseTuple() is failed, the buf attribute can contains arbitrary (non-NULL) data. This causes crash in PyBuffer_Release(). See issue20133 for working example. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-06 14:05:53 | serhiy.storchaka | set | recipients: + serhiy.storchaka, larry |
| 2014-01-06 14:05:53 | serhiy.storchaka | set | messageid: <1389017153.04.0.847004275231.issue20142@psf.upfronthosting.co.za> |
| 2014-01-06 14:05:53 | serhiy.storchaka | link | issue20142 messages |
| 2014-01-06 14:05:52 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
