commit | 5fb71611925f734f7fe03a45527e14b296fd5167 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kangjielu@gmail.com> | Thu Jul 14 15:02:06 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 15 08:27:49 2016 +0200 |
tree | 57022ab16a1835a50ab9186dfce5fbe690035246 | |
parent | cfd6e7fe434a378127e4964fc0b7ccf32ae2baed [diff] |
tipc: fix an infoleak in tipc_nl_compat_link_dump [ Upstream commit 5d2be1422e02ccd697ccfcd45c85b4a26e6178e2 ] link_info.str is a char array of size 60. Memory after the NULL byte is not initialized. Sending the whole object out can cause a leak. Signed-off-by: Kangjie Lu <kjlu@gatech.edu> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>