2023-05-19 13:34 GMT+09:00, Hex Rabbit <h3xrabbit@xxxxxxxxx>: >> if (ctxt_len < >> sizeof(struct smb2_neg_context) + MIN_PREAUTH_CTXT_DATA_LEN) >> You need to plus sizeof(struct smb2_neg_context) here. >> MIN_PREAUTH_CTXT_DATA_LEN accounts for HashAlgorithmCount, >> SaltLength, and 1 HashAlgorithm. >> >> > return STATUS_INVALID_PARAMETER; > > Sorry, should I resend the patch? No, I will directly update it. Thanks for your patch. > > Thanks >