Overview
| Artifact ID: | f7ed6312017781a8337fc62d21f5a7ce571f27b0475ce0ca8742d3e868ae4ba8 |
|---|---|
| Ticket: | 17f747a4a4720f8e9797e7933dd43745b73e0e2c
Thread safety in tclZipfs.c |
| User & Date: | chw on 2017-11-21 05:48:03 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
There's a static cache of Tcl_Obj pointers (e.g. "zipfs_literal_fstype") to cache commonly used strings. This seems to be wrong since it potentially is used by more than a single thread and lacks synchronization. Either must that cache be left out or implemented using thread local storage as in the Tcl_SetStartupScript() function.
- foundin changed to: "core_zip_vfs"
- is_private changed to: "0"
- login: "chw"
- priority changed to: "5 Medium"
- private_contact changed to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "chw"
- subsystem changed to: "49. Threading"
- title changed to: "Thread safety in tclZipfs.c"
- type changed to: "Bug"