Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ea959ea084dd44432c031a8e587843c2489804f086e5e7c82eba3743149740b0
Ticket: 6aea6a8e25122d5f6210119897612ef452009fd0
dict size overflow
User & Date: dgp on 2017-11-08 17:26:29
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    With enough RAM and time...
    
    % set count [expr {(1<<31)-1}]
    2147483647
    % while {[incr count -1]} {
    dict set d [expr {rand()}] 0
    }
    % dict size $d
    2147483646
    % dict set d 2 0; dict size $d
    2147483647
    % dict set d 3 0; dict size $d
    -2147483648
    
  5. foundin changed to: "all"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "15. Dict Object"
  14. title changed to: "dict size overflow"
  15. type changed to: "Bug"