Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e2b331fe7f4d1e2676eae19939526cee373c2e19
Ticket: 1810038fffffffffffffffffffffffffffffffff
DoS via infinite loop in regex NFA optimization
User & Date: dgp on 2007-11-09 01:05:28
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    Possibly useful observations...
    
    Changing the parens from capturing to
    non-capturing stops the infinite loop
    in the simplified test...
    
    % regexp (?:$|^)* {}
    1
    
    ...but not in the original test...
    
    % regexp (?:$|^X)* {}
    <hangs>
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"