Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3128821f18ddfcf32bb74f8e888967124787f88acdbd2b306848f5d6726ce617
Ticket: 23dd83ce7ce0aad9db5584c6b30cdb420b403e0e
Truncation of zipfs file results in valgrind 0 byte allocation errors
User & Date: chw on 2023-09-27 13:35:49
Changes

  1. closedate changed to: "2460215.06654675"
  2. closer changed to: "chw"
  3. icomment:
    Regarding the comment "TODO - there seems to be no locking here ..."
    in the diff closing this ticket [a6c30811c9] you might want to
    move the WriteLock() call after if (info->isWriting) before
    the if block. This would solve the issue since before committing
    to the global ZipEntry table that WriteLock() ensures exclusive
    access. Since other threads require a ReadLock() to obtain an
    open channel they'll have to wait until after that commit.
    
  4. login: "chw"
  5. mimetype: "text/x-fossil-plain"