Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ca14bbe7a10f412758a5d7d985880cb92cd692b0
Ticket: 1810038fffffffffffffffffffffffffffffffff
DoS via infinite loop in regex NFA optimization
User & Date: dgp on 2007-11-06 23:35:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    Things get stuck in the do {...} while ()
    loop inside the pullback() routine at
    about line 750 in regc_nfa.c .
    
    The stuck loop starts with nfa->nstates == 12
    and each iteration adds 2 to nfa->nstates,
    and sets progress to 1.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"