diff options
| author | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
|---|---|---|
| committer | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
| commit | 96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch) | |
| tree | ad5f3ede5cbcd6b598677ce41bcf8318471bdd92 /storage/iscsi/src/client | |
| parent | 687b274aa38fd05c8c26e3068932121876d7f745 (diff) | |
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'storage/iscsi/src/client')
| -rw-r--r-- | storage/iscsi/src/client/wmisample.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/storage/iscsi/src/client/wmisample.c b/storage/iscsi/src/client/wmisample.c index aff10be5..7ead7fec 100644 --- a/storage/iscsi/src/client/wmisample.c +++ b/storage/iscsi/src/client/wmisample.c @@ -4117,8 +4117,8 @@ Routine Description: adapterExtension->InitiatorSecretLen = 0; - if (InBufferSize >= FIELD_OFFSET(SetCHAPSharedSecret_IN, - SharedSecret)) { + if (InBufferSize >= (ULONG)FIELD_OFFSET(SetCHAPSharedSecret_IN, + SharedSecret)) { setCHAPSecretIn = (PSetCHAPSharedSecret_IN) Buffer; @@ -4187,8 +4187,8 @@ Routine Description: adapterExtension->RadiusSecretLen = 0; - if (InBufferSize >= FIELD_OFFSET(SetRADIUSSharedSecret_IN, - SharedSecret)) { + if (InBufferSize >= (ULONG)FIELD_OFFSET(SetRADIUSSharedSecret_IN, + SharedSecret)) { setRADIUSSecretIn = (PSetRADIUSSharedSecret_IN) Buffer; @@ -4321,7 +4321,7 @@ Routine Description: updatedCount = count + 1; size = updatedCount * sizeof(ISCSI_IP_Address); - adapterExtension->RadiusServerList = ExAllocatePoolWithTag(NonPagedPool, + adapterExtension->RadiusServerList = ExAllocatePoolWithTag(NonPagedPoolNx, size, 'vrSR'); @@ -4446,7 +4446,7 @@ Routine Description: if (updatedCount > 0) { - adapterExtension->RadiusServerList = ExAllocatePoolWithTag(NonPagedPool, + adapterExtension->RadiusServerList = ExAllocatePoolWithTag(NonPagedPoolNx, size, 'vrSR'); @@ -6300,7 +6300,7 @@ iSpSetLoadBalancePolicy( // if (!overFlow) { - LBPolicy = iSpAllocatePool(NonPagedPool, + LBPolicy = iSpAllocatePool(NonPagedPoolNx, sizeNeeded, ISCSI_TAG_LB_POLICY); if (LBPolicy != NULL) { |
