[Tcl-bugs] [Tcl] (sebres) com (fix-8-5-578155d5a19b348d): stability fix: try to avoid segfault using released object, in error case of Tcl_ObjSetVar2, if newValuePtr self-released during set (lookup, by rewriting of interpreter state with error, by trace call, etc.), see ticket [578155d5a19b348d].

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Tcl-bugs] [Tcl] (sebres) com (fix-8-5-578155d5a19b348d): stability fix: try to avoid segfault using released object, in error case of Tcl_ObjSetVar2, if newValuePtr self-released during set (lookup, by rewriting of interpreter state with error, by trace call, etc.), see ticket [578155d5a19b348d].

akupries
Automated mail by fx, on behalf of [hidden email]

Commit [bc5e7bdafc922baf58dd0c0b77b9817a73338490]
  By      sebres
  For     Tcl (branch: fix-8-5-578155d5a19b348d)
  On      2017-07-14T14:21:43.292
  Details https://core.tcl.tk/tcl/info/bc5e7bdafc922baf58dd0c0b77b9817a73338490

Description
   stability fix: try to avoid segfault using released object, in error
   case of Tcl_ObjSetVar2, if newValuePtr self-released during set
   (lookup, by rewriting of interpreter state with error, by trace call,
   etc.), see ticket [578155d5a19b348d]. TODO: this is minimalist version
   of fix, so check this can be sane rewritten using something like flag
   TCL_OWN_OBJREF as suggested in ticket [578155d5a19b348d].

Changed Files
  1 edited
           generic/tclVar.c

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
Loading...