Manifest of check-in
[be22bcd249]
- When zipfs is finalized, be sure to unregister it. If this isn't done,
then path resolution can re-enter the zipfs implementation code and try to
lookup pathnames in hash tables that have been deleted. Crash! Panic! Bad!
I see this easily in an app that embeds Tcl/Tk and uses multiple interps.
Did not easily find a demo script in Tcl alone.
by
dgp on
2022-09-15 18:34:56.
B a04820dc7957c4ea9d2d57466288f5bc12f8d535ee624a854b51b90bb3b82113
C When\szipfs\sis\sfinalized,\sbe\ssure\sto\sunregister\sit.\s\sIf\sthis\sisn't\sdone,\nthen\spath\sresolution\scan\sre-enter\sthe\szipfs\simplementation\scode\sand\stry\sto\nlookup\spathnames\sin\shash\stables\sthat\shave\sbeen\sdeleted.\sCrash!\sPanic!\sBad!\n\nI\ssee\sthis\seasily\sin\san\sapp\sthat\sembeds\sTcl/Tk\sand\suses\smultiple\sinterps.\nDid\snot\seasily\sfind\sa\sdemo\sscript\sin\sTcl\salone.
D 2022-09-15T18:34:56.076
F generic/tclZipfs.c 1de3c136253384a712dc868bf0bd8734c2ed0429c68978466bbc180be33cd8bb
P a04820dc7957c4ea9d2d57466288f5bc12f8d535ee624a854b51b90bb3b82113
R 1fbd1574d8b7d04d8c682ae337b9f571
U dgp
Z 1e8f180d18c1d4a3dc7d4a748713e685