Re: [PATCH net] tipc: eliminate KMSAN uninit-value in strcmp complaint

2018-05-10 Thread David Miller
From: Ying Xue Date: Tue, 8 May 2018 21:44:06 +0800 > When we get link properties through netlink interface with > tipc_nl_node_get_link(), we don't validate TIPC_NLA_LINK_NAME > attribute at all, instead we directly use it. As a consequence, > KMSAN detected the TIPC_NLA_LINK_NAME attribute was

[PATCH net] tipc: eliminate KMSAN uninit-value in strcmp complaint

2018-05-08 Thread Ying Xue
When we get link properties through netlink interface with tipc_nl_node_get_link(), we don't validate TIPC_NLA_LINK_NAME attribute at all, instead we directly use it. As a consequence, KMSAN detected the TIPC_NLA_LINK_NAME attribute was an uninitialized value, and then posted the following complain