libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch development updated: libtool.m4: Avoid word splitting on untruste


From: Ileana Dumitrescu
Subject: branch development updated: libtool.m4: Avoid word splitting on untrusted inputs
Date: Wed, 16 Oct 2024 10:31:59 -0400

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 3cf528a4 libtool.m4: Avoid word splitting on untrusted inputs
3cf528a4 is described below

commit 3cf528a4f04e9da78b06635aac6545709007b882
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Tue Oct 15 23:03:00 2024 +0200

    libtool.m4: Avoid word splitting on untrusted inputs
    
    If $multilib is set to more than one word, the following error can be
    seen during configuration:
    
            test: too many arguments
    
    * m4/libtool.m4: Wrap variable in quotes.
---
 m4/libtool.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index d8a0a728..dcd6adae 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2584,7 +2584,7 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
     # If user builds GCC with multilib enabled,
     # it should just install on $(libdir)
     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
-    if test xyes = x$multilib; then
+    if test xyes = x"$multilib"; then
       postinstall_cmds='base_file=`basename \$file`~
         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo 
\$dlname'\''`~
         dldir=$destdir/`dirname \$dlpath`~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]