Overview
| Artifact ID: | 3406a407fe907f7a00d6cd603ecd540062f6d64cce7dedfe7cb5a28324e64591 |
|---|---|
| Ticket: | ce32712f83f0d30051adb6a53e11f9e338a9944f
Inconsistent locking during zipfs initialization |
| User & Date: | apnadkarni on 2025-10-03 10:04:51 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Both the following sequences are seen in tclZipFs.c ``` ReadLock(); if (!ZipFS.initialized) { ZipfsSetup(); } ``` and ``` WriteLock(); if (!ZipFS.initialized) { ZipfsSetup(); } ``` - Why is ZipfsSetup under a read lock in some cases and write locks in others? Does not seem to make sense. - How is a read lock sufficient given that ZipfsSetup modifies the internal structures? I had added a TODO comment questioning this when fixing zipfs bugs during the 9.0 beta but forgot to revisit and just saw it today :-( - foundin changed to: "9.0.2"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Inconsistent locking during zipfs initialization"
- type changed to: "Bug"