Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7eda870437124b75fb7dd32e1327fdda74db99196b23b70c7e6902ed4f80582e
Ticket: 167e0635db79f05d23d766376f6eed32b1572451
`make valgrind` detections
User & Date: dkf on 2024-04-10 12:56:16
Changes

  1. icomment:
    Ah yes, `length` is only defined at all if `bytes` is non-`NULL`, just as `internalRep` is only defined if `typePtr` is non-`NULL` (and then you need to know the implementation of the `typePtr` to know how to interpret it). Accessing a non-defined field is the sort of thing that valgrind ought to catch.
    
    I think we can assume that that fixes it, in the absence of further info from dgp (specifically what test triggered it and what fossil ID was tested).
    
  2. login: "dkf"
  3. mimetype: "text/x-markdown"