summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-04 19:22:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-04 19:22:37 (GMT)
commit9feb8b7c29e253d12a05136bc566bc7e881c04ac (patch)
treef2e77953cc989ebe541677c73e30e30e25b7f250 /library
parent50a13754610c04730f483b8100a8b9c0fccb1e3e (diff)
downloadtcl-9feb8b7c29e253d12a05136bc566bc7e881c04ac.zip
tcl-9feb8b7c29e253d12a05136bc566bc7e881c04ac.tar.gz
tcl-9feb8b7c29e253d12a05136bc566bc7e881c04ac.tar.bz2
In registry, protect "keyName" from being NULL: This actually can lead to crashed (I experienced this ...). Update version to 1.3.3, and align implementation in all branches (core-8-6-branch and higher)
Diffstat (limited to 'library')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index b1fe234..ee559b5 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1,9 +1,9 @@
if {([info commands ::tcl::pkgconfig] eq "")
|| ([info sharedlibextension] ne ".dll")} return
if {[::tcl::pkgconfig get debug]} {
- package ifneeded registry 1.3.2 \
+ package ifneeded registry 1.3.3 \
[list load [file join $dir tclreg13g.dll] registry]
} else {
- package ifneeded registry 1.3.2 \
+ package ifneeded registry 1.3.3 \
[list load [file join $dir tclreg13.dll] registry]
}