[libvirt] libvirt 1.2.1 vs. Xen 4.1.4

Eric Blake eblake at redhat.com
Wed Jan 29 02:39:42 UTC 2014


On 01/28/2014 06:40 PM, Jim Fehlig wrote:

> 
> Commit df36af58 broke parsing of http response from xend.  The prior
> use of atoi() would happily parse e.g. a string containing "200 OK\r\n",
> whereas virStrToLong_i() will fail when called with a NULL end_ptr.
> Change the calls to virStrToLong_i() to provide a non-NULL end_ptr.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  src/xen/xend_internal.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list