diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-08-25 23:39:40 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-08-29 12:30:20 -0500 |
commit | 17d5b135bb720832364e8f55f6a887a3c7ec8fdb (patch) | |
tree | 8a9a1dab246e2aa488dbc58b48b2998146cd327b /tools/perf/scripts/python/libxed.py | |
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: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-21824
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions