[Spice-devel] [spice-xpi 5/5] Add glib Windows logging

Christophe Fergeau cfergeau at redhat.com
Mon Mar 25 04:26:48 PDT 2013


On Mon, Mar 25, 2013 at 12:18:32PM +0100, Marc-André Lureau wrote:
> On Mon, Mar 25, 2013 at 11:50 AM, Christophe Fergeau
> <cfergeau at redhat.com> wrote:
> > I've considered that, but this means I'd have to sanitize the filename for
> > \, '..', and probably some other things I didn't think of. As this is just
> > a debugging help, I've chosen to go with a hardcoded filename which does
> > not need additional care. I can change that if you feel strongly about it.
> 
> Imho, there is no need for that. If the user provide a wrong filename,
> it should fail.

Well, setting it to ..\..\..\bootmgr could lead to interesting results, and
I'd like to protect against such issues if I add support for an arbitrary
filename.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130325/4e3bb177/attachment.pgp>


More information about the Spice-devel mailing list