aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2021-09-03 07:09:44 +0900
committerSteve French <[email protected]>2021-09-03 23:29:45 -0500
commit303fff2b8c77a85c62dbde3b27c24b084144c04c (patch)
tree8dec6d6bff81a9a9c79e074b3b83f4b46ca3e6b2 /scripts/gdb/linux
parent687c59e702f48e0eca91455d3ef3197b7b8a8314 (diff)
ksmbd: add validation for ndr read/write functions
If ndr->length is smaller than expected size, ksmbd can access invalid access in ndr->data. This patch add validation to check ndr->offset is over ndr->length. and added exception handling to check return value of ndr read/write function. Cc: Dan Carpenter <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions