Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2015-10-19
15:30 • Closed ticket [841838ffff]: $)+ $str hangs tcl plus 6 other chan... artifact: 64fd6ca60d user: dgp
2015-10-15
05:26 • Ticket [841838ffff]: 7 changes artifact: ee0dcd3de1 user: tgl
2003-11-14
00:09 • New ticket [841838ffff]. artifact: c3dfa9b362 user: coldstore

[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.