cwdPathPtr incomplete finalization
Closed / Fixed1536142fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-07 16:42:35
When a thread is finalized, the routine FsThrExirProc() gets called to finalize the ThreadSpecificData of tclIOUtil.c. This routine decrements a refcount on the master copy of cwdPathPtr, but fails to NULL out its cached reference. This permits attempts to use that invalid pointer which leads to panics. Here's a patch to complete the finalization. The same patch ought to apply to the HEAD which appears to suffer from the same bug.
dgpplain2006-08-07 23:42:36
File Added - 188039: cwdfinal.patch
dgpplain2006-08-18 03:10:46
Logged In: YES user_id=80530 had a chance to review this yet?
nobodyplain2006-08-18 05:02:17
Logged In: NO Thanks for the push! Indeed the patch looks entirely correct, and the right way of doing things, so please do commit. Vince.
dgpplain2006-08-21 22:03:57
Logged In: YES user_id=80530 patch committed to both active branches
dgp Ticket [1536142fff]: 3 changes
[History diff]2006-08-21 22:03:58
Log in (anonymous is fine) to add a comment.
Attachments:
- cwdfinal.patch [download] added by dgp on 2006-08-07 23:42:35. [details]