aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2024-02-01 13:49:09 +0800
committerHerbert Xu <[email protected]>2024-02-02 18:08:12 +0800
commit24c890dd712f6345e382256cae8c97abb0406b70 (patch)
treeab8ac0b6ed69da9841c3cc585c2192de5fcb02dd /net/unix/sysctl_net_unix.c
parent69fba378edcaffba7bc7d299fdee02e377069d30 (diff)
crypto: algif_hash - Remove bogus SGL free on zero-length error path
When a zero-length message is hashed by algif_hash, and an error is triggered, it tries to free an SG list that was never allocated in the first place. Fix this by not freeing the SG list on the zero-length error path. Reported-by: Shigeru Yoshida <[email protected]> Reported-by: xingwei lee <[email protected]> Fixes: b6d972f68983 ("crypto: af_alg/hash: Fix recvmsg() after sendmsg(MSG_MORE)") Cc: <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Reported-by: [email protected] Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions