Re: [SCM] GNU Libtool branch, master, updated. v2.4.5-5-gc60e054

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 01/20/2015 10:24 AM, Gary V. Vaughan wrote:

>     * gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
>     gl/build-aux/funclib.sh, gl/build-aux/options-parser: Sync with
>     upstream.

> @@ -2267,11 +2267,12 @@ func_tool_version_number ()
>  {
>      $debug_cmd
>  
> -    _G_verout=`func_tool_version_output "$@" |sed 1q`
> +    _G_verout=`func_tool_version_output "$@"`
>      _G_status=$?
>  
>      # A version number starts with a digit following a space on the first
>      # line of output from `--version`.
> +    _G_verout=`echo "$_G_verout" |sed 1q`

How probable is it that $_G_verout will ever be output captured from
some tool that includes \ in its output?  If so, you'd want to use
printf to make sure you don't run foul of a shell where \ is
interpolated by echo.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
signature.asc (application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJUvpGmAAoJEKeha0olJ0Nq3ewH/1KUrVOvzAwQTyEw/jrP9Ak4
JzmfOdo7AEZJ0T24LTE2LiPNHgrK4YOxOTiTG6n7pxeaTXBTHEqYRRtyg7rBP4Hw
wUb8NeCnrd21FhwOTeb5d+pArKsD4OMujjgBF/gCIUdKg276FbiXoq2rhenWdo5p
1bnvVWn+xzSGb+93XAZ6e7KQFnZCsD+CT7kk8pPILWpNvMImg2nUxMHOJx+fH9H/
awqMdzRgC777JjBM1usTusQjmOaPQU/PTVRfsZwcH/Gi14d5xZiWcDxCDCu8zTCC
xyWzaJa3awVR2P17NqnWLQc0PM5jHyreS+YbsUFHr24MZFLGd2BRfZkMuW3n1CQ=
=oayE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.