aboutsummaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2022-04-24 20:57:24 +0800
committerDavid S. Miller <[email protected]>2022-04-25 10:48:49 +0100
commit7d413735cb18ff73aaba3457b16b08332e8d3cc4 (patch)
tree4601c96330ca1e61d0b6deedd35224abd1f13ce2 /lib/pm-notifier-error-inject.c
parent48009e9972974c52a5f649f761862dd67bce3d13 (diff)
net: hns3: add validity check for message data length
Add validity check for message data length in function hclge_send_mbx_msg(), avoid unexpected overflow. Fixes: dde1a86e93ca ("net: hns3: Add mailbox support to PF driver") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions