[libvirt] [PATCH 07/10] xenapi: avoid sprintf

Matthias Bolte matthias.bolte at googlemail.com
Thu Aug 19 21:14:07 UTC 2010


2010/8/19 Eric Blake <eblake at redhat.com>:
> * src/xenapi/xenapi_utils.h (createVifNetwork): Delete prototype.
> * src/xenapi/xenapi_utils.c (createVifNetwork): Change signature,
> and use virAsprintf.  Detect allocation failure.
> (createVMRecordFromXml): Adjust caller.
> ---
>
> I couldn't find any other uses of createVifNetwork, so changing
> its prototype and marking it static seemed best.
>

ACK.

Matthias




More information about the libvir-list mailing list