aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-02-15 04:27:45 +0000
committerAl Viro <[email protected]>2025-06-17 21:57:49 +0000
commit28032ef879b6ab073bb8c85f2044edaf6b80c929 (patch)
tree15bc17f080717d290a3772aa43096868c91b477a /drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
parent[ceph] parse_longname(): strrchr() expects NUL-terminated string (diff)
downloadkernel-28032ef879b6ab073bb8c85f2044edaf6b80c929.tar.gz
kernel-28032ef879b6ab073bb8c85f2044edaf6b80c929.zip
prep for ceph_encode_encrypted_fname() fixes
ceph_encode_encrypted_dname() would be better off with plaintext name already copied into buffer; we'll lift that into the callers on the next step, which will allow to fix UAF on races with rename; for now copy it in the very beginning of ceph_encode_encrypted_dname(). That has a pleasant side benefit - we don't need to mess with tmp_buf anymore (i.e. that's 256 bytes off the stack footprint). Tested-by: Viacheslav Dubeyko <[email protected]> Reviewed-by: Viacheslav Dubeyko <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_userqueue.c')
0 files changed, 0 insertions, 0 deletions