namespace / trace double-free crash
Closed / Fixed536937ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-03-29 22:41:03
The following code creates a double-free situation in
Tcl 8.3.4/8.4a4:
namespace eval ::foo {
variable x 123
}
proc p1 args {
trace vdelete ::foo::x u p1
}
trace variable ::foo::x u p1
namespace delete ::foo
I've correct this with the attached patch for 8.3.4
(and am applying a similar patch for 8.4a4).
hobbsplain2002-03-30 05:41:03
File Added - 20295: nametracedelete.patch
hobbsplain2002-03-30 05:46:19
File Added - 20296: nametracedelete84.patch Logged In: YES user_id=72656 patches attached and commited.
Log in (anonymous is fine) to add a comment.
Attachments:
- nametracedelete84.patch [download] added by hobbs on 2002-03-30 05:46:19. [details]
- nametracedelete.patch [download] added by hobbs on 2002-03-30 05:41:03. [details]