commit | 297f7d2cce6a156c174334ee452f2f7a7ba405ca | [log] [tgz] |
---|---|---|
author | Baozeng Ding <sploving1@gmail.com> | Tue May 24 22:33:24 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed May 25 12:33:52 2016 -0700 |
tree | b9b9d7fe44437f7a2df0330142dc50d60aa17c0a | |
parent | ec7c7f5cafdaeea509ad4e7e6f71c2312062c4c6 [diff] |
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: Baozeng Ding <sploving1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>