diff options
| author | 2021-10-15 12:52:58 +0900 | |
|---|---|---|
| committer | 2021-10-15 09:18:29 -0500 | |
| commit | 7a33488705008b5bb5f8d95d05326dcc64fc55f4 (patch) | |
| tree | 5827cc2c2eb08de156cb5299255057eaabf7fe5a /lib/mpi/mpi-mod.c | |
| parent | ksmbd: add buffer validation for smb direct (diff) | |
| download | linux-rng-7a33488705008b5bb5f8d95d05326dcc64fc55f4.tar.xz linux-rng-7a33488705008b5bb5f8d95d05326dcc64fc55f4.zip | |
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 <linkinjeon@kernel.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
