diff options
author | Namjae Jeon <[email protected]> | 2023-08-25 23:39:40 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2023-08-29 12:30:20 -0500 |
commit | 17d5b135bb720832364e8f55f6a887a3c7ec8fdb (patch) | |
tree | 8a9a1dab246e2aa488dbc58b48b2998146cd327b /lib/test_fortify/write_overflow-memcpy.c | |
parent | bf26f1b4e0918f017775edfeacf6d867204b680b (diff) |
ksmbd: fix wrong DataOffset validation of create context
If ->DataOffset of create context is 0, DataBuffer size is not correctly
validated. This patch change wrong validation code and consider tag
length in request.
Cc: [email protected]
Reported-by: [email protected] # ZDI-CAN-21824
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions