[Patches] [ python-Patches-756032 ] re reads an uninitialized memory
SourceForge.net
noreply@sourceforge.net
Tue, 17 Jun 2003 09:53:15 -0700
Patches item #756032, was opened at 2003-06-18 01:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=756032&group_id=5470
Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: atsuo ishimoto (ishimoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: re reads an uninitialized memory
Initial Comment:
With this script, re reads from an address beyond the
end of the string.
>>> import re
>>> r = re.compile(r"\b1")
>>> print r.search('a', 1)
See assert() in the attached patch to see where
incorrect memory reading occurs.
This patch looks fix the problem, but I'm not sure this is
correct answer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=756032&group_id=5470