Re: [PATCH v2] tipc: fix potential null pointer dereferences in some compat functions

2016-05-25 Thread David Miller
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

[PATCH v2] tipc: fix potential null pointer dereferences in some compat functions

2016-05-24 Thread Baozeng Ding
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