Skip to content
Tcl Source Code History Of Ticket d052d2a1b01ba2c8
Login

History Of Ticket d052d2a1b01ba2c8

Artifacts Associated With Ticket d052d2a1b01ba2c8

  1. Ticket change [abd74bb92d] (rid 203160) by chrstphrchvz on 2022-08-20 14:21:34:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      If `TestsetbytearraylengthObjCmd()` is called with a shared value and `Tcl_SetByteArrayLength()` returns `NULL`, then the duplicated value returned by `Tcl_DuplicateObj()` should be freed, otherwise it will be leaked:
      
      <pre>
      --- generic/tclTest.c.orig
      +++ generic/tclTest.c
      @@ -5130,6 +5130,9 @@
       	obj = objv[1];
           }
           if (NULL == Tcl_SetByteArrayLength(obj, n)) {
      <span style="color:green">+	if (Tcl_IsShared(objv[1])) {
      +	    Tcl_DecrRefCount(obj);
      +	}</span>
       	Tcl_SetResult(interp, "expected bytes", TCL_STATIC);
       	return TCL_ERROR;
           }
      <pre>
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "chrstphrchvz"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Cosmetic"
    11. status initialized to: "Open"
    12. submitter initialized to: "chrstphrchvz"
    13. subsystem initialized to: "12. ByteArray Object"
    14. title initialized to: "avoid leak in TestsetbytearraylengthObjCmd()"
    15. type initialized to: "Patch"
  2. Ticket change [8eb8082eff] (rid 203251) by jan.nijtmans on 2022-08-23 07:06:16:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459814.79602649"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Fixed [28c98255909b5e7c|here]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  3. Ticket change [d780c62782] (rid 203252) by jan.nijtmans on 2022-08-23 07:06:19:

    1. closedate changed to: "2459814.79605436"
    2. icomment: "Fixed [28c98255909b5e7c|here]"
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"