diff options
author | Ralph Boehme <[email protected]> | 2021-10-15 12:52:58 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2021-10-15 09:18:29 -0500 |
commit | 7a33488705008b5bb5f8d95d05326dcc64fc55f4 (patch) | |
tree | 5827cc2c2eb08de156cb5299255057eaabf7fe5a /lib | |
parent | 2ea086e35c3d726a3bacd0a971c1f02a50e98206 (diff) |
ksmbd: validate credit charge after validating SMB2 PDU body size
smb2_validate_credit_charge() accesses fields in the SMB2 PDU body,
but until smb2_calc_size() is called the PDU has not yet been verified
to be large enough to access the PDU dynamic part length field.
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Ralph Boehme <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions