11865 SMB2 CREATE should validate create context sizes
Review Request #2410 — Created Oct. 23, 2019 and discarded — Latest diff uploaded
The SMB2 server should check the create context sizes before attempting to decode their data:
"If the size of each individual create context is not equal to the DataLength of the create context, the server MUST fail the request with STATUS_INVALID_PARAMETER."
This impacts the following WPTS test case:
Prior to applying the fix the above test case failed. With the fix applied it now passes.