diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-25 11:35:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-25 11:35:01 (GMT) |
commit | 570eb6b10d4d79e67bbca7dc36edceed219b8308 (patch) | |
tree | fd67c4df954da5d9030c959d0668dbc513b0c22b /win | |
parent | 63ba958fe4fef7f35f4d601c27b796ab8f32cc06 (diff) | |
parent | f08cbe00fd1ac3c0a36e15bcc98778d4c5c12679 (diff) | |
download | tcl-570eb6b10d4d79e67bbca7dc36edceed219b8308.zip tcl-570eb6b10d4d79e67bbca7dc36edceed219b8308.tar.gz tcl-570eb6b10d4d79e67bbca7dc36edceed219b8308.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')
-rwxr-xr-x | win/tclWinFile.c | 2 |
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; } |