mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
virterror.c: don't read beyond end of buffer upon OOM
* src/virterror.c (virReportSystemErrorFull): Fix typo in my previous change. Patch by Daniel P. Berrange.
This commit is contained in:
parent
b4f62abbf1
commit
f03d3439cd
@ -1,3 +1,9 @@
|
|||||||
|
Tue Jan 27 13:25:16 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
virterror.c: don't read beyond end of buffer upon OOM
|
||||||
|
* src/virterror.c (virReportSystemErrorFull): Fix typo in
|
||||||
|
my previous change. Patch by Daniel P. Berrange.
|
||||||
|
|
||||||
Tue Jan 27 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>
|
Tue Jan 27 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
|
||||||
kvm/virtio: Set IFF_VNET_HDR when setting up tap fds
|
kvm/virtio: Set IFF_VNET_HDR when setting up tap fds
|
||||||
|
@ -1059,7 +1059,7 @@ void virReportSystemErrorFull(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!msgDetailBuf)
|
if (!msgDetail)
|
||||||
msgDetail = errnoDetail;
|
msgDetail = errnoDetail;
|
||||||
|
|
||||||
virRaiseError(conn, NULL, NULL, domcode, VIR_ERR_SYSTEM_ERROR, VIR_ERR_ERROR,
|
virRaiseError(conn, NULL, NULL, domcode, VIR_ERR_SYSTEM_ERROR, VIR_ERR_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user