Skip to content
Commit 297f7d2c authored by Baozeng Ding's avatar Baozeng Ding Committed by David S. Miller
Browse files

tipc: fix potential null pointer dereferences in some compat functions



Before calling the nla_parse_nested function, make sure the pointer to the
attribute is not null. This patch fixes several potential null pointer
dereference vulnerabilities in the tipc netlink functions.

Signed-off-by: default avatarBaozeng Ding <sploving1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ec7c7f5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment