From: Fuqian Huang
Date: Tue, 14 May 2019 23:11:59 +0800
> When ia_cmds.sub_cmd is MEMDUMP_DEV in ia_ioctl,
> nullify the pointer fields of iadev before copying
> the whole structure to user space.
>
> Signed-off-by: Fuqian Huang
Honestly I'd rather you just remove the MEMDUMP_DEV ioctl altoge
When ia_cmds.sub_cmd is MEMDUMP_DEV in ia_ioctl,
nullify the pointer fields of iadev before copying
the whole structure to user space.
Signed-off-by: Fuqian Huang
---
drivers/atm/iphase.c | 73 +---
1 file changed, 70 insertions(+), 3 deletions(-)