|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 11/21] fdo: suppress uninitialized memory '*Interface'
*Interface is set by IoCallDriver() down the stack so to suppress this warning
we initialize Interface at the start of the function.
Signed-off-by: Césaire Mounah <cesaire.mounah@xxxxxxxxxx>
---
src/xenvif/fdo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xenvif/fdo.c b/src/xenvif/fdo.c
index af8bec4..c77e97d 100644
--- a/src/xenvif/fdo.c
+++ b/src/xenvif/fdo.c
@@ -3136,6 +3136,7 @@ FdoQueryInterface(
KeInitializeEvent(&Event, NotificationEvent, FALSE);
RtlZeroMemory(&StatusBlock, sizeof(IO_STATUS_BLOCK));
+ RtlZeroMemory(Interface, Size);
Irp = IoBuildSynchronousFsdRequest(IRP_MJ_PNP,
Fdo->LowerDeviceObject,
--
2.55.0.windows.5
--
Césaire Mounah | Vates Windows Guest Tools Engineer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |