qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] exec: make -mem-path filenames deterministic


From: Peter Feiner
Subject: Re: [Qemu-devel] [PATCH v2] exec: make -mem-path filenames deterministic
Date: Fri, 1 Mar 2013 14:20:08 -0500

On Fri, Mar 1, 2013 at 1:47 PM, Andreas Färber <address@hidden> wrote:
> Am 01.03.2013 18:21, schrieb address@hidden:
>
> Is it safe to use a MemoryRegion name as part of mkstemp()? "/../" seems
> rather unlikely but a "/" less so.

Since mkstemp essentially calls open, "/" does what you'd expect. So a
MemoryRegion name with "/" would cause problems. I can sanitize the
name by replacing "/" with "_". I'll post this as v3.

> Also note that v2 is expected to be posted as a top-level patch since
> the patches tool does not cope well with "hidden" reposts.

Thanks for the tip. I'll post v3 without "In-Reply-To".

Peter



reply via email to

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