[libvirt] [PATCH] esx: Escape password for XML

Eric Blake eblake at redhat.com
Thu Mar 3 21:44:48 UTC 2011


On 03/03/2011 02:24 PM, Matthias Bolte wrote:
> Passwords are allowed to contain <, >, &, ', " characters.
> Those need to be replaced by the corresponding entities.
> 
> Reported by Hereward Cooper.
> ---
>  src/esx/esx_driver.c |   28 ++++++++++++++++++++++------
>  src/esx/esx_util.c   |   19 +++++++++++++++++++
>  src/esx/esx_util.h   |    2 ++
>  3 files changed, 43 insertions(+), 6 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110303/28b13dec/attachment-0001.sig>


More information about the libvir-list mailing list