[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1686364] Re: qemu -readconfig/-writeconfig cannot handle quotes in
From: |
Thomas Huth |
Subject: |
[Bug 1686364] Re: qemu -readconfig/-writeconfig cannot handle quotes in values |
Date: |
Wed, 05 May 2021 06:57:16 -0000 |
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/142
** Changed in: qemu
Status: New => Expired
** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #142
https://gitlab.com/qemu-project/qemu/-/issues/142
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1686364
Title:
qemu -readconfig/-writeconfig cannot handle quotes in values
Status in QEMU:
Expired
Bug description:
$ qemu-system-x86_64 -drive file=/tmp/foo\" -writeconfig -
# qemu config file
[drive]
file = "/tmp/foo""
For bonus points, try to construct a valid qemu config file that
contains a quoted value. It's pretty clear (from looking at the code
also) that this is not possible.
Also:
- maximum value length is hard-coded in the parser at 1023 characters
(for no apparent reason)
- the format is undocumented
- don't use sscanf for parsing!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1686364/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug 1686364] Re: qemu -readconfig/-writeconfig cannot handle quotes in values,
Thomas Huth <=