[vbox-dev] [PATCH] Fix for Description field in: vboxmanage showvminfo NAME --machinereadable

Sara Golemon sara at platform.sh
Sat Feb 18 06:17:16 GMT 2017


I noticed that quotes and backslashes aren't escaped for the VM description
field when calling `vboxmanage showvminfo NAME --machinereadable`

The attached simple patch should fix it. ((I'll be honest, I haven't put
together a build environment to try it, but it's a pretty simple/obvious
fix.))

Per https://www.virtualbox.org/wiki/Contributor_information I'm stating
that I offer this under the terms of the MIT license.

-Sara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20170218/9a8d6e8a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: showvminfo-machinereadable-description.patch
Type: application/octet-stream
Size: 538 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20170218/9a8d6e8a/attachment.obj>


More information about the vbox-dev mailing list