-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b184812
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 3204 Changes: "&Params->DOT11RSNREKeyOffload.RsnKeyInfo.KCK_CONTENT, 32);"
"WDI_PRIVATE_BYTE_BLOB KCK_CONTENT;" is not compatible with "UCHAR KCK [DOT11_RSN_MAX_CIPHER_KEY_LENGTH];".
How do you copy 32 bytes and say you have both KCK and KEK?
Isn't this a memory corruption?
//
// Container for 802.11 Rsn Key information.
//
typedef struct _WDI_PM_RSN_KEY_INFO_CONTAINER
{
UINT32_CONTAINER ProtocolOffloadId;
UINT64_CONTAINER ReplayCounter;
WDI_PRIVATE_BYTE_BLOB KCK_CONTENT;
WDI_PRIVATE_BYTE_BLOB KEK_CONTENT;
#ifdef __cplusplus
_WDI_PM_RSN_KEY_INFO_CONTAINER() : ProtocolOffloadId( (UINT32_CONTAINER)0 ), ReplayCounter( (UINT64_CONTAINER)0 )
{
};
#endif // __cplusplus
} WDI_PM_RSN_KEY_INFO_CONTAINER, *PWDI_PM_RSN_KEY_INFO_CONTAINER;