https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8eb66fa1b6ad7b5231ca0…
commit 8eb66fa1b6ad7b5231ca0c37d3fe0c568f684dcb
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Oct 21 15:06:04 2017 +0200
[RDBSS] Make it clear that we want to zero all the create parameters
CID 1411975
---
sdk/lib/drivers/rdbsslib/rdbss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/drivers/rdbsslib/rdbss.c b/sdk/lib/drivers/rdbsslib/rdbss.c
index 4591f3bd72..4f888c8c13 100644
--- a/sdk/lib/drivers/rdbsslib/rdbss.c
+++ b/sdk/lib/drivers/rdbsslib/rdbss.c
@@ -7492,7 +7492,7 @@ RxPrefixClaim(
RxContext->PrefixClaim.SuppliedPathName.MaximumLength =
QueryRequest->PathNameLength;
/* Zero the create parameters */
- RtlZeroMemory(&RxContext->Create.NtCreateParameters,
+ RtlZeroMemory(&RxContext->Create,
FIELD_OFFSET(RX_CONTEXT, AlsoCanonicalNameBuffer) -
FIELD_OFFSET(RX_CONTEXT, Create.NtCreateParameters));
RxContext->Create.ThisIsATreeConnectOpen = TRUE;
RxContext->Create.NtCreateParameters.SecurityContext =
QueryRequest->SecurityContext;