From: Baozeng Ding
Date: Tue, 24 May 2016 22:33:24 +0800
> 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 D
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
---
v2: declare local variable as reverse christmas tree format