Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 07dca8b020b650d5c207c9333a20567c5788b98d
Ticket: 3576509fffffffffffffffffffffffffffffffff
tcl::Bgerror crashes with invalid arguments
User & Date: apnadkarni on 2012-10-12 02:27:50
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    8.6b3 (or thereabouts), Windows XP but probably not platform specific
    
    Within wish, tcl::Bgerror "This is an error" foo
    
    will cause a crash. I ran into this because I inadvertently passed in the name of variable containing the options dict instead of the dict value.
    
    Cause of crash is that the return value from the call to Tcl_DictObjGet in function TclDefaultBgErrorHandlerObjCmd is not checked and the code lands up accessing a garbage valuePtr.
    
  4. foundin changed to: "obsolete: 8.6b3"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "apnadkarni"
  10. subsystem changed to: "None"
  11. title changed to: "tcl::Bgerror crashes with invalid arguments"
  12. type changed to: "Bug"