From: Vlad Tsyrklevich
Date: Mon, 9 Jan 2017 20:57:48 +0700
> 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 Tsyrk
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
---
drivers/net/appletalk/ipddp.c | 2 +-
1 file changed, 1 insert