Fix allocation of arglist in qemuStringToArgvEnv
Fix allocation of arglist in qemuStringToArgvEnv

In

  commit 41b550567918790cb304378f39c3ba369bcca28e
  Author: Eric Blake <eblake@redhat.com>
  Date:   Wed Aug 28 15:01:23 2013 -0600

    qemu: simplify list cleanup

The qemuStringToArgvEnv method was changed to use virStringFreeList
to free the 'arglist' array. This method assumes the string list
array is NULL terminated, however, qemuStringToArgvEnv was not
ensuring this when populating 'arglist'. This caused an out of
bounds access by virStringFreeList when OOM occured in the initial
loop of qemuStringToArgvEnv

Signed-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

eskultety/libvirt,nertpinx/libvirt,jardasgit/libvirt,agx/libvirt,eskultety/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,agx/libvirt,jfehlig/libvirt,cbosdo/libvirt,andreabolognani/libvirt,libvirt/libvirt,cbosdo/libvirt,VenkatDatta/libvirt,eskultety/libvirt,zippy2/libvirt,datto/libvirt,rlaager/libvirt,elmarco/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jfehlig/libvirt,rlaager/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,rlaager/libvirt,jardasgit/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,datto/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,eskultety/libvirt,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,olafhering/libvirt,andreabolognani/libvirt,jfehlig/libvirt,zippy2/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,cbosdo/libvirt,jardasgit/libvirt,olafhering/libvirt,datto/libvirt,taget/libvirt,nertpinx/libvirt,elmarco/libvirt,olafhering/libvirt,VenkatDatta/libvirt,libvirt/libvirt,agx/libvirt,olafhering/libvirt,crobinso/libvirt,elmarco/libvirt,eskultety/libvirt,nertpinx/libvirt,taget/libvirt,crobinso/libvirt,taget/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,cbosdo/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,nertpinx/libvirt,libvirt/libvirt,elmarco/libvirt,rlaager/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,shugaoye/libvirt,crobinso/libvirt,agx/libvirt,taget/libvirt,datto/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,elmarco/libvirt