Ticket Change Details
Not logged in
Overview

Artifact ID: 1cb07611961d651ce3666617588c5c077bd7d7fa0cdbd43d1e9c984afda56d2c
Ticket: 578155d5a19b348dc1a9fe96cc2c067a59326a89
Very rare bug (segfault) if set variable (with error case) using self-releasable object as new value
User & Date: pooryorick 2023-03-31 15:19:19
Changes

  1. closedate changed to: "2460035.1384144"
  2. closer changed to: "pooryorick"
  3. icomment:
    "No, as already illustrated it is not."
    
    <blockquote>
    Tcl_ObjSetVar2 behaves exactly as if it had initially incremented the reference
    count of newValuePtr and then decremented it in the failure case.  If there is
    any complete runnable working demo that shows this not to be true, I would like
    to see it, but I know there won't be one because I can read the current code.
    </blockquote>
    
  4. login: "pooryorick"
  5. mimetype: "text/x-fossil-wiki"