]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: first allocate the memory and then set the count
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Wed, 7 Jun 2017 08:46:39 +0000 (10:46 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 12 Jun 2017 23:11:30 +0000 (19:11 -0400)
commite9538813ec8f56b7c73a99c40c3fe8247a75e02a
tree15c4458166d6890fc260df70b2ad937ea682a14f
parentebe8139536aff00be9eb24b4458d73f39520c6c0
rpc: first allocate the memory and then set the count

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
src/rpc/virnetclientprogram.c