]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (tmpdir): Do not accept an existing directory, and
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Wed, 29 Mar 2000 06:48:06 +0000 (06:48 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 29 Mar 2000 06:48:06 +0000 (06:48 +0000)
force its mode to 700, for security reasons.
Reported by Joseph S. Myers <jsm28@cam.ac.uk>

ChangeLog
ltmain.in

index 8239758991bc77c2c6d2386040d3943367ca4b56..c98f9bd3af8c9422c56b8599b11421b360ab071d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * ltmain.in (tmpdir): Do not accept an existing directory, and
+       force its mode to 700, for security reasons.
+       Reported by Joseph S. Myers <jsm28@cam.ac.uk>
+
 2000-03-27  Thomas Tanner  <tanner@ffii.org>
 
        * NEWS: reformatting
index 1916f5a3780e1b2fb3c8f82bfb2ba7793ba3f25c..e344fbf3351ecd0753a280c551ac9dc41b9a8254 100644 (file)
--- 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