* m4/ltmain.in: Don't use the mkdir -p option when creating a
temporary output directory so a symlink attack can't be used to
arbitrarily chmod other directories on the system if libtool
gets run as root.
+2004-01-03 Stefan Nordhausen <nordhaus@informatik.hu-berlin.de>
+ Scott James Remnant <scott@netsplit.com>
+
+ * m4/ltmain.in: Don't use the mkdir -p option when creating a
+ temporary output directory so a symlink attack can't be used to
+ arbitrarily chmod other directories on the system if libtool
+ gets run as root.
+
2004-01-02 Peter O'Gorman <peter@pogma.com>
* m4/libtool.m4: Ensure that ${ZSH_VERSION+set} is properly escaped.
tmpdir="/tmp"
test -n "$TMPDIR" && tmpdir="$TMPDIR"
tmpdir="$tmpdir/libtool-$$"
- if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
+ if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :
else
$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
continue