Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d0f432b8
Commit
d0f432b8
authored
Feb 20, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A bug in PCRE could cause core dumps in patterns such as
'((a)*)*'. Andrew Kuchling posted a fix to the string-sig.
parent
ff170fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Modules/pypcre.c
Modules/pypcre.c
+7
-2
No files found.
Modules/pypcre.c
View file @
d0f432b8
...
...
@@ -809,6 +809,13 @@ do {
case
OP_KETRMIN
:
return
TRUE
;
/* Skip over entire bracket groups with zero lower bound */
case
OP_BRAZERO
:
case
OP_BRAMINZERO
:
cc
++
;
/* Fall through */
/* Skip over assertive subpatterns */
case
OP_ASSERT
:
...
...
@@ -823,8 +830,6 @@ do {
case
OP_EOD
:
case
OP_CIRC
:
case
OP_DOLL
:
case
OP_BRAZERO
:
case
OP_BRAMINZERO
:
case
OP_NOT_WORD_BOUNDARY
:
case
OP_WORD_BOUNDARY
:
case
OP_NOT_WORD_BOUNDARY_L
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment