Messages in this thread |  | | Date | Tue, 14 May 2019 16:01:55 -0700 (PDT) | Subject | Re: [PATCH] atm: iphase: Avoid copying pointers to user space. | From | David Miller <> |
| |
From: Fuqian Huang <huangfq.daxian@gmail.com> 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 <huangfq.daxian@gmail.com>
Honestly I'd rather you just remove the MEMDUMP_DEV ioctl altogether, there is now ay that information is useful in any way whatsoever.
Thank you.
|  |