- 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 | belopolsky |
|---|---|
| Recipients | ajaksu2, akuchling, belopolsky, benjamin.peterson, brett.cannon, kristjan.jonsson, loewis, meador.inge, skrah |
| Date | 2011-02-04.00:26:41 |
| SpamBayes Score | 2.1611795e-06 |
| Marked as misclassified | No |
| Message-id | <1296779202.06.0.89880180178.issue3367@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
I don't have a working valgrind or purify, but I was able to reproduce the problem using a poor man's solution of adding
assert(0xcbcbcbcbcbcbcbcb != tok->line_start);
before
if (a >= tok->line_start)
With that assert the debug build indeed crashes once I hit Ctrl-D. Attached patch fixes that.
I have also added tok->line_start in a few tok constructors for which I don't have a test case demonstrating access to uninitialized value, but it seems to be good defensive programming. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-02-04 00:26:42 | belopolsky | set | recipients: + belopolsky, loewis, akuchling, brett.cannon, kristjan.jonsson, ajaksu2, benjamin.peterson, skrah, meador.inge |
| 2011-02-04 00:26:42 | belopolsky | set | messageid: <1296779202.06.0.89880180178.issue3367@psf.upfronthosting.co.za> |
| 2011-02-04 00:26:41 | belopolsky | link | issue3367 messages |
| 2011-02-04 00:26:41 | belopolsky | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
