diff options
Diffstat (limited to 'mailinglist/output_launchpad/1686364')
| -rw-r--r-- | mailinglist/output_launchpad/1686364 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1686364 b/mailinglist/output_launchpad/1686364 new file mode 100644 index 00000000..4402c671 --- /dev/null +++ b/mailinglist/output_launchpad/1686364 @@ -0,0 +1,26 @@ +qemu -readconfig/-writeconfig cannot handle quotes in values + +$ qemu-system-x86_64 -drive file=/tmp/foo\" -writeconfig - +# qemu config file + +[drive] + file = "/tmp/foo"" + +For bonus points, try to construct a value 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! + + +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 + + |