Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[regexp (^|$)+ $str] hangs tcl

Closed / Fixed841838ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 11 years ago
Descriptionplain2003-11-14 00:09:08
[regexp (^|$)+ $str]  causes tcl to become
non-responsive to keyboard input and events, I'm fairly
sure that re execution simply never returns.

I think this is possibly related to several other
regexp bugs listed here which have the form (^|...) -
there's something wrong with regexp engine's handling
of the ^ constraint in some circumstances.
tglplain2015-10-15 05:26:57
This is a small variant on CVE-2007-4772 (Tcl Bug 1810038).  It should be closed as fixed ...
dgp Closed ticket [841838ffff]. [History diff]2015-10-19 15:30:01
Log in (anonymous is fine) to add a comment.