summaryrefslogtreecommitdiff
path: root/drivers/scsi/ppa.h
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <musamaanjum@gmail.com>2021-04-09 03:01:29 +0500
committerDavid S. Miller <davem@davemloft.net>2021-04-08 16:41:46 -0700
commit864db232dc7036aa2de19749c3d5be0143b24f8f (patch)
treedc7d062aa31dd41d2dde3653442a412fec116fef /drivers/scsi/ppa.h
parent2d1b50abf8d4964b14705bfec253be6e80c22099 (diff)
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: <stable@vger.kernel.org> Addresses-Coverity: ("NULL pointer dereference") Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/ppa.h')
0 files changed, 0 insertions, 0 deletions