aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2021-04-08 22:01:29 +0000
committerDavid S. Miller <[email protected]>2021-04-08 23:41:46 +0000
commit864db232dc7036aa2de19749c3d5be0143b24f8f (patch)
treedc7d062aa31dd41d2dde3653442a412fec116fef /net/tipc/node.c
parentMerge branch 'lantiq-GSWIP-fixes' (diff)
downloadkernel-864db232dc7036aa2de19749c3d5be0143b24f8f.tar.gz
kernel-864db232dc7036aa2de19749c3d5be0143b24f8f.zip
net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
nlh is being checked for validtity two times when it is dereferenced in this function. Check for validity again when updating the flags through nlh pointer to make the dereferencing safe. CC: <[email protected]> Addresses-Coverity: ("NULL pointer dereference") Signed-off-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions