Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d53513d79d334d18ee73dcea5ab666af1e7f1853e5d8c6364b2be8eb7de02bcb
Ticket: 167e0635db79f05d23d766376f6eed32b1572451
`make valgrind` detections
User & Date: sebres on 2024-04-05 19:57:32
Changes

  1. icomment:
    Oh... now I followed your approach... however I don't think it is well, because now due to an attempt with Tcl_GetIndexFromObj firstly, it would always try to convert numeric seconds (either regular case) to index (together with conversion numeric to str, etc), what was avoided before.
    
    I could suggest this one:
    
    ```diff
    	if (
    -	    (baseObj->length == 4 && baseObj->bytes && *(baseObj->bytes+1) == 'n') ||
    +	    (baseObj->bytes && baseObj->length == 4 && *(baseObj->bytes+1) == 'n') ||
    
    ```
    But I cannot reproduce it - don't see "Conditional jump or move depends on uninitialised value" at all...
    Everything I see from valgrind is a lot of "X bytes in 1 blocks are still reachable in loss record".
    
  2. login: "sebres"
  3. mimetype: "text/x-markdown"