summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-25 11:35:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-25 11:35:01 (GMT)
commit5d964e0e6cf53fdbfb627ec0846131dae369f644 (patch)
treefd67c4df954da5d9030c959d0668dbc513b0c22b /win/tclWinFile.c
parentea11a4da28d3e9a1c80627b23e83b34a7d73baf1 (diff)
parent4b8109368625d2b5d9c74f7f2375925b57860efa (diff)
downloadtcl-5d964e0e6cf53fdbfb627ec0846131dae369f644.zip
tcl-5d964e0e6cf53fdbfb627ec0846131dae369f644.tar.gz
tcl-5d964e0e6cf53fdbfb627ec0846131dae369f644.tar.bz2
Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
Diffstat (limited to 'win/tclWinFile.c')
-rwxr-xr-xwin/tclWinFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 6b9d373..02927ad 100755
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -3001,7 +3001,7 @@ TclNativeCreateNativeRep(
}
done:
-
+
TclDecrRefCount(validPathPtr);
return nativePathPtr;
}