mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +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>
|
||||
|
||||
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;
|
||||
|
||||
virRaiseError(conn, NULL, NULL, domcode, VIR_ERR_SYSTEM_ERROR, VIR_ERR_ERROR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user