commit | ce7e40c432ba84da104438f6799d460a4cad41bc | [log] [tgz] |
---|---|---|
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | Mon Jan 09 20:57:48 2017 +0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 09 16:34:39 2017 -0500 |
tree | 678e2f202c6a78e6a7c7f7e23f4de8bd43f3d3c9 | |
parent | b007f09072ca8afa118ade333e717ba443e8d807 [diff] |
net/appletalk: Fix kernel memory disclosure ipddp_route structs contain alignment padding so kernel heap memory is leaked when they are copied to user space in ipddp_ioctl(SIOCFINDIPDDPRT). Change kmalloc() to kzalloc() to clear that memory. Signed-off-by: Vlad Tsyrklevich <vlad@tsyrklevich.net> Signed-off-by: David S. Miller <davem@davemloft.net>