Artifact
3128821f18ddfcf32bb74f8e888967124787f88acdbd2b306848f5d6726ce617:
Ticket change
[3128821f18]
- Ticket
[23dd83ce7ce0aad9|23dd83ce7c] <i>Truncation of zipfs file results in valgrind 0 byte allocation errors</i> status still Closed with 5 other changes
by
chw on
2023-09-27 13:35:49.
D 2023-09-27T13:35:49.639
J closedate 2460215.06654675
J closer chw
J icomment Regarding\sthe\scomment\s"TODO\s-\sthere\sseems\sto\sbe\sno\slocking\shere\s..."\r\nin\sthe\sdiff\sclosing\sthis\sticket\s[a6c30811c9]\syou\smight\swant\sto\r\nmove\sthe\sWriteLock()\scall\safter\sif\s(info->isWriting)\sbefore\r\nthe\sif\sblock.\sThis\swould\ssolve\sthe\sissue\ssince\sbefore\scommitting\r\nto\sthe\sglobal\sZipEntry\stable\sthat\sWriteLock()\sensures\sexclusive\r\naccess.\sSince\sother\sthreads\srequire\sa\sReadLock()\sto\sobtain\san\r\nopen\schannel\sthey'll\shave\sto\swait\suntil\safter\sthat\scommit.
J login chw
J mimetype text/x-fossil-plain
K 23dd83ce7ce0aad9db5584c6b30cdb420b403e0e
U chw
Z 207ef4eab667934c696a12cde88350c0