Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5bb96271eaeecbb1d04e04b230da747bfeb023658bda2291be7a144d2ff7a86b
Ticket: 0e8fd6c6d5fd2f29f90c6e101197796951e399d6
(unsigned)STRING_SIZE(STRING_MAXCHARS) is 0
User & Date: chrstphrchvz on 2022-03-22 18:41:41
Changes

  1. icomment:
    The ASan flag <tt>allocator_frees_and_returns_null_on_realloc_zero</tt> is enabled by default, so this Tcl issue effectively triggers a double free. The problem seems to be that ASan is not detecting/reporting double frees for at least some large allocations.
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"