Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af0d71ab78a135be9c9ade843a4f04e95dc71c27
Ticket: 40f628e8e343f5e3cbef0cd41dff719ef2a11e34
Tcl_ListObjReplace() callers fail to handle errors (LIST_MAX) properly
User & Date: dgp on 2015-11-19 20:16:41
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    % set l [lrepeat 268435455 A]; concat
    % set m [linsert $l end {*}$l]; concat
    % llength $m
    268435455
    
    This ought to panic on an attempt to make 
    a list longer than LIST_MAX.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "14. List Object"
  14. title changed to:
    Tcl_ListObjReplace() fails to handle LIST_MAX properly
    
  15. type changed to: "Bug"