diff options
| author | Dan Carpenter <[email protected]> | 2021-11-30 12:50:47 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-12-16 18:36:49 +0000 |
| commit | ef399469d9ceb9f2171cdd79863f9434b9fa3edc (patch) | |
| tree | d258ecfcb83c02084077874b5260239fb8d7a46b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | Linux 5.16-rc5 (diff) | |
| download | kernel-ef399469d9ceb9f2171cdd79863f9434b9fa3edc.tar.gz kernel-ef399469d9ceb9f2171cdd79863f9434b9fa3edc.zip | |
ksmbd: fix error code in ndr_read_int32()
This is a failure path and it should return -EINVAL instead of success.
Otherwise it could result in the caller using uninitialized memory.
Fixes: 303fff2b8c77 ("ksmbd: add validation for ndr read/write functions")
Cc: [email protected] # v5.15
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
