aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-01-17 09:36:14 +0000
committerDavid S. Miller <[email protected]>2025-01-20 12:18:26 +0000
commit5fe71fda89745fc3cd95f70d06e9162b595c3702 (patch)
treecd62593bf878b994f476ee8a01cd8a1be4b796b6 /net/unix/af_unix.c
parentnet: phylink: always do a major config when attaching a SFP PHY (diff)
downloadkernel-5fe71fda89745fc3cd95f70d06e9162b595c3702.tar.gz
kernel-5fe71fda89745fc3cd95f70d06e9162b595c3702.zip
tipc: re-order conditions in tipc_crypto_key_rcv()
On a 32bit system the "keylen + sizeof(struct tipc_aead_key)" math could have an integer wrapping issue. It doesn't matter because the "keylen" is checked on the next line, but just to make life easier for static analysis tools, let's re-order these conditions and avoid the integer overflow. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions