diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1686364')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1686364 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1686364 b/results/scraper/launchpad-without-comments/1686364 new file mode 100644 index 000000000..73bf23a1e --- /dev/null +++ b/results/scraper/launchpad-without-comments/1686364 @@ -0,0 +1,17 @@ +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! \ No newline at end of file |