[ python-Bugs-1089395 ] segfault/assert in tokenizer
SourceForge.net
noreply at sourceforge.net
Thu Jan 13 16:47:45 CET 2005
Bugs item #1089395, was opened at 2004-12-21 13:02
Message generated for change (Comment added) made by glchapman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1089395&group_id=5470
Category: Unicode
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Martin v. Löwis (loewis)
Summary: segfault/assert in tokenizer
Initial Comment:
The attached script fail.py (with the attached codec
evilascii.py) leads to a segfault in both Python 2.3 and
2.4. With a debug build I get:
python: Parser/tokenizer.c:367: fp_readl: Assertion
`strlen(str) < (size_t)size' failed.
Aborted
Assigning to Martin, because this seems to be PEP 263
related.
----------------------------------------------------------------------
Comment By: Greg Chapman (glchapman)
Date: 2005-01-13 06:47
Message:
Logged In: YES
user_id=86307
I just posted a patch for this here:
www.python.org/sf/1101726
I'd appreciate any comments/corrections.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1089395&group_id=5470
More information about the Python-bugs-list
mailing list