Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ee4c2e82bc577aebf2a3687d90750b218b57fe2d1bb7cf2f20f58b7b8ca7f699
Ticket: 8ecaee5d83a8d8694bd0585066d6d6f71c28ce73
[array for] memory corruption
User & Date: dgp on 2018-04-23 03:27:38
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    In a --enable-symbols=mem build of Tcl, both tests var-23.10 and var-23.11 segfault.
    
    This is because the unset operations in the loop bodies cause searchPtr to be freed,
    yet ArrayForLoopCallback() operates on the fields of searchPtr right away with nothing
    to check the memory is still allocated.
    
    Array searches are still not yet founded on a proper design.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Critical"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "07. Variables"
  14. title changed to: "[array for] memory corruption"
  15. type changed to: "Bug"