aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-09-21 15:37:06 +0900
committerSteve French <[email protected]>2023-09-21 14:41:06 -0500
commit73f949ea87c7d697210653501ca21efe57295327 (patch)
tree3456982d347b855ca404ce17f1a653da9151dc50 /tools/perf/util/trace-event-scripting.c
parentf2f11fca5d7112e2f91c4854cddd68a059fdaa4a (diff)
ksmbd: check iov vector index in ksmbd_conn_write()
If ->iov_idx is zero, This means that the iov vector for the response was not added during the request process. In other words, it means that there is a problem in generating a response, So this patch return as an error to avoid NULL pointer dereferencing problem. Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions