[issue3322] bugs in scanstring_str() and scanstring_unicode() of _json module
STINNER Victor
report at bugs.python.org
Sat Jul 19 15:34:15 CEST 2008
STINNER Victor <haypo at users.sourceforge.net> added the comment:
I wrote that I'm unable to fix the bug correctly, but I wrote a patch
to avoid the crash:
- replace begin by end in error messages: is it correct?
- use "end < 0 || len <= end" test to check scanstring() second
argument => raise a ValueError if end value is invalid
----------
keywords: +patch
Added file: http://bugs.python.org/file10947/_json.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3322>
_______________________________________
More information about the Python-bugs-list
mailing list