Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Fix Unicode vs Ascii Fault During Exit

Closed / Out of Date652725ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-12-12 15:30:19
This patch cleans up the TclWinSetInterfaces code 
so that on NT it populate both ascii and unicode 
function vectors with the NT-only functions.

Without this it is possible during finalization for 
the VFS code to try and use getFileAttributesExProc 
AFTER the tclWinProcs has been switched back to 
Ascii, resulting in a NULL-ptr deref.
hobbsplain2003-02-15 09:14:52
Logged In: YES 
user_id=72656

There is no patch ???
vincentdarleyplain2003-02-15 19:01:02
Logged In: YES 
user_id=32170

I'd also like to see a test case for this problem, since it 
could well be this patch addresses the symptoms rather 
than the root cause. (Or maybe the switch back to ascii 
just needs to happen later).
vincentdarleyplain2003-02-18 23:55:16
Logged In: YES 
user_id=32170

Given this was submitted on 12/12/02, I think the 
filesystem finalization changes committed since that 
time have resolved any known problems in this area.

Please open a new bug report if you can reproduce a 
crash with cvs head.
vincentdarley Ticket [652725ffff]: 2 changes [History diff]2003-02-18 23:55:17
Log in (anonymous is fine) to add a comment.