tcl crashes on asking certain keys for sub keys
Closed / Fixed1682211fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2007-03-16 15:27:05
the tcl shell crashes, if the registry package queries the sub keys of a registry key, where the sub keys have perhabs illegal names.
The syntax leading to those crashes is simply:
registry keys $path;
Those sub keys are e.g.
1. Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
2. CustomMarshalers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=x86
3. ISymWrapper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=x86
4. ##?#IDE#DiskST340014A_______________________________8.16____#4a354d5851424247202020202020202020202020#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
5. ##?#USBSTOR#Disk&Ven_TinyDisk&Prod_2006-04-10&Rev_0.00#0000000000010E&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
etc.
The used registry package version is 1.1.4.
kennykbplain2007-03-17 07:07:17
Logged In: YES user_id=99768 Originator: NO Any chance you could use regedit, regedt32, or something to dump the entire subtree in question and attach it to this report? I don't have that subtree on my machine, and it would make things easier if I could reproduce the problem.
kennykbplain2007-03-18 04:30:46
Logged In: YES
user_id=99768
Originator: NO
Never mind about sending me the registry dump. The following test case fails.
test registry-4.9 {GetKeyNames: very long key} {*}{
-constraints {win && reg}
-setup {
registry set HKEY_CLASSES_ROOT\\TclFoobar\\a
registry set HKEY_CLASSES_ROOT\\TclFoobar\\b[string repeat x 254]
registry set HKEY_CLASSES_ROOT\\TclFoobar\\c
}
-body {
lsort [registry keys HKEY_CLASSES_ROOT\\TclFoobar]
}
-cleanup {
registry delete HKEY_CLASSES_ROOT\\TclFoobar
}} \
-result [list a b[string repeat x 254] c]
}
kennykbplain2007-03-18 05:41:38
Logged In: YES user_id=99768 Originator: NO Fixed in the HEAD and the 8.4 branch tip.
[email protected]plain2007-06-20 21:11:21
Logged In: NO ptEAua Hey, there is what you need.
[email protected]plain2007-07-25 08:26:49
Logged In: NO YjhsQd A number of universities have awarded her honorary degrees, and she earned a prestigious job on the staff of Detroit congressman John Conyers. In 1988 Roxanne Brown noted: "Thirty-two years after she attracted international attention for sparking the Montgomery Bus Boycott, Mrs. Parks's ardent devotion to human rights still burns brightly, like a well-tended torch that ignites her spirit and calls her to service whenever she is needed."
dkf Ticket [1682211fff]: 1 change
[History diff]2007-07-25 15:10:03
Log in (anonymous is fine) to add a comment.