All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Julien Grall <julien.grall@citrix.com>,
	Riku Voipio <riku.voipio@linaro.org>,
	Wei Liu <wei.liu2@citrix.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: xl: libxl_domain_info: getting domain info list: Bad address
Date: Fri, 11 Sep 2015 17:01:04 +0100	[thread overview]
Message-ID: <1441987264.3549.97.camel@citrix.com> (raw)
In-Reply-To: <22002.62587.123417.80222@mariner.uk.xensource.com>

On Fri, 2015-09-11 at 16:34 +0100, Ian Jackson wrote:
> From 29e08dfa3a5c5a5aeb51fd01c67345e20cbb33c5 Mon Sep 17 00:00:00 2001
> From: Ian Jackson <ian.jackson@eu.citrix.com>
> Date: Fri, 11 Sep 2015 16:27:08 +0100
> Subject: [OSSTEST PATCH] cs-bisection-step: Cope with graph-out (testids)
>  containing ( ) etc.
> 
> cr-try-bisect launders / in the testid but relies on other characters
> being handled appropriately by cs-bisection-step.  So for example it
> can pass
> 
>   graph-out=/home/logs/results/bisect/linux-linus/test-armhf-armhf-xl
> -arndale.leak-check--basis(8)
> 
> But cs-bisection step foolishly assumed that the --graph-out argument
> did not contain any shell metacharacters.  Fix this.
> 
> Specifically:
> 
>  * Change invocations of perl's open to use the 3-argument form
>  * Change invocations of system to pass individual arguments rather
>    than constructing a shell script fragment and relying on the shell
>    to split it up.
>  * In particular, in the png processing pipeline, use the "sh -ec
>    <script> x <arg>..."  technique to pass the input and output
>    filenames in a way that does not expose them to the shell's parser.
>    To avoid making this code more tangled than it already is, also
>    break out the construction of what is now $scriptlet.
>  * Escape metacharacters in the URIs we put in the html output.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>

  reply	other threads:[~2015-09-11 16:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 17:07 xl: libxl_domain_info: getting domain info list: Bad address Julien Grall
2015-09-11  7:55 ` Riku Voipio
2015-09-11  9:50   ` Julien Grall
2015-09-11  8:52 ` Ian Campbell
2015-09-11  9:26   ` Julien Grall
2015-09-11  9:38     ` Ian Campbell
2015-09-11 15:34       ` Ian Jackson
2015-09-11 16:01         ` Ian Campbell [this message]
2015-09-11 14:50 ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441987264.3549.97.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=julien.grall@citrix.com \
    --cc=riku.voipio@linaro.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.