Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 78d4f86974eb6c4bff318ca8a63dc4f5109ffe21d75bbfcaeece1bbe43b9fcc0
Ticket: d051b77fc18d7340dbc7db61897461a8784ac32e
segmentation fault in tclStringObj.c, line 2405
User & Date: aspect on 2018-07-26 15:24:04
Changes

  1. icomment:
    This crash can be stopped by changing tclStringObj.c at line 1870 (trunk):
    
    -       if (width > limit) {
    +       if (width > limit || width < 0) {
    
    but the underlying issue is earlier:
    
       int width;
       width = strtoul(..);
    
    looks like there are several signed int's that are assumed to not overflow,
    all should be examined.
    
  2. login: "aspect"
  3. mimetype: "text/plain"