[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 7/8] high: Zero the HIGH_LOCK value, not the pointer



Assisted-by: ClaudeCode:claude-opus-4.8
Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/common/high.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/high.h b/src/common/high.h
index bdebc7f..61ba2a6 100644
--- a/src/common/high.h
+++ b/src/common/high.h
@@ -83,7 +83,7 @@ InitializeHighLock(
     _In_ PHIGH_LOCK Lock
     )
 {
-    RtlZeroMemory(&Lock, sizeof (HIGH_LOCK));
+    RtlZeroMemory(Lock, sizeof (HIGH_LOCK));
 }
 
 #endif  // _COMMON_HIGH_H
-- 
2.51.2.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.