Overview
| Artifact ID: | 28954d79170d636230a0a06771b6ab01c3ba2b71 |
|---|---|
| Ticket: | a4a7f2abd376b2806073d2865f07b7d910b04574
Tcl [string match] and [glob] are exponential complexity for bad patterns, could be linear |
| User & Date: | aku on 2017-04-24 19:04:42 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
See [https://research.swtch.com/glob] about a description of the general problem (backtracking in many glob-matching implementations) and solution. Tcl 8.6.1 is unfortunately in the group with exponential behaviour (in contrast to regexes, where Tcl is part of the nice group). Ranking this as severe (as a possible DOS attack vector), but not critical (not a crash, although that may be possible for the larger patterns).
- foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "aku"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "aku"
- subsystem changed to: "16. Commands A-H"
- title changed to:
Tcl [string match] and [glob] are exponential complexity for bad patterns, could be linear
- type changed to: "Bug"