Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0168b71f3ea66ce5fce0f57632208e7eacf74444
Ticket: 1017523fffffffffffffffffffffffffffffffff
lset-based DOS
User & Date: dkf on 2004-08-27 19:10:33
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    This is just a memory consumption DoS attack.  Tcl is
    vulnerable to these and I know of no way (within the context
    of Tcl) to prevent them.  In a wider context, process
    accounting limits (ulimit -m, ulimit -v or ulimit -d) are
    the easiest way to put a lid on this sort of thing.
    
    Ideally, the [interp limit] infrastructure would catch this,
    but it's a lot of work to make it happen because memory is
    not currently allocated within the context of an interpreter
    so determining who it belongs to is non-trivial.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"