[Libguestfs] [PATCH 0/4] libguestfs cannot open disk images which are symlinks to files that contain ':' (colon) character (RHBZ#812092).

Matthew Booth mbooth at redhat.com
Fri Apr 13 09:12:11 UTC 2012


On 12/04/12 19:34, Richard W.M. Jones wrote:
> Note: This is a regression in RHEL 6.3.  Please review this patch
> urgently.
>
> The description of the bug is here:
>
>    https://bugzilla.redhat.com/show_bug.cgi?id=812092
>
> This patch set attempts to fix the problem conservatively, because
> it's a very high risk codepath and very late in the development of
> RHEL 6.3.
>
> The first patch reverts the behaviour of calling realpath(3) and
> checking for duplicate filenames.
>
> The second patch fixes 'check_path'.  Only ':' is not permitted in
> qemu paths.  (However symlinks to paths that contain ':' will work
> again because the first patch was reverted.)
>
> The third patch adds proper escaping of ',' in qemu command line
> parameters.
>
> The fourth patch adds a regression test for filenames containing
> unusual characters.
>
> Rich.
>

ACK to the whole series.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list