Overview
| Artifact ID: | fee3ae6000278b21e5bcf999e071d24671f01ccd |
|---|---|
| Ticket: | 1810038fffffffffffffffffffffffffffffffff
DoS via infinite loop in regex NFA optimization |
| User & Date: | dgp on 2007-11-07 00:42:01 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO Enabling the dumpnfa(), here's the first few iterations: Original: pre 1, post 0, bos [2], bol [3], eos [4], eol [5] 0@ no out arcs 1> ^0->4 ^1->4 [1]->4 [0]->4 4. $0->0 $1->0 [1]->0 [0]->0 ^1->10 $1->4 10. [1]->4 After first loop: pre 1, post 0, bos [2], bol [3], eos [4], eol [5] 0@ no out arcs 1> ^0->4 ^1->4 [1]->4 [0]->4 ^1->10 4. $0->0 $1->0 [1]->0 [0]->0 $1->4 ^1->13 10. [1]->4 13. $1->10 After second loop: 0@ no out arcs 1> ^0->4 ^1->4 [1]->4 [0]->4 ^1->10 ^1->13 4. $0->0 $1->0 [1]->0 [0]->0 $1->4 ^1->15 10. [1]->4 13. $1->10 15. $1->13 ...and the pattern continues. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"