Commit c7705ee
ksmbd: use buf_data_size instead of recalculation in smb3_decrypt_req()
Tom suggested to use buf_data_size that is already calculated, to verify
these offsets.
Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Suggested-by: Tom Talpey <tom@talpey.com>
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 51a1387 commit c7705ee
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8395 | 8395 | | |
8396 | 8396 | | |
8397 | 8397 | | |
8398 | | - | |
| 8398 | + | |
8399 | 8399 | | |
8400 | 8400 | | |
8401 | 8401 | | |
8402 | 8402 | | |
8403 | | - | |
8404 | | - | |
| 8403 | + | |
8405 | 8404 | | |
8406 | 8405 | | |
8407 | 8406 | | |
8408 | 8407 | | |
8409 | 8408 | | |
8410 | | - | |
8411 | | - | |
| 8409 | + | |
8412 | 8410 | | |
8413 | 8411 | | |
8414 | 8412 | | |
| |||
0 commit comments