From: Alexandre Oliva Date: Wed, 29 Mar 2000 06:48:06 +0000 (+0000) Subject: * ltmain.in (tmpdir): Do not accept an existing directory, and X-Git-Tag: release-1-3d~188 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d642136ca5ffc2151bbe79120583b8e32753c498;p=thirdparty%2Flibtool.git * ltmain.in (tmpdir): Do not accept an existing directory, and force its mode to 700, for security reasons. Reported by Joseph S. Myers --- diff --git a/ChangeLog b/ChangeLog index 823975899..c98f9bd3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-03-29 Alexandre Oliva + + * ltmain.in (tmpdir): Do not accept an existing directory, and + force its mode to 700, for security reasons. + Reported by Joseph S. Myers + 2000-03-27 Thomas Tanner * NEWS: reformatting diff --git a/ltmain.in b/ltmain.in index 1916f5a37..e344fbf33 100644 --- a/ltmain.in +++ b/ltmain.in @@ -3426,7 +3426,7 @@ else # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in - [\\/]* | [A-Za-z]:[\\/]*) thisdir=\"\$destdir\" ;; + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi