aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2024-02-04 18:17:09 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-03-01 09:12:27 -0500
commit773f6c5b72d96be1f8fca0f1f7a58babbb3a9c26 (patch)
treeef61651f65b401b81e984fcf3e2bdcf74ea1ebbb /scripts/gdb/linux/tasks.py
parent5b9a85899c93430ff5173748fbcb79f28af21388 (diff)
svcrdma: Prevent a UAF in svc_rdma_send()
In some error flow cases, svc_rdma_wc_send() releases @ctxt. Copy the sc_cid field in @ctxt to a stack variable in order to guarantee that the value is available after the ib_post_send() call. In case the new comment looks a little strange, this will be done with at least one more field in a subsequent patch. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions