lkml.org 
[lkml]   [2019]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] atm: iphase: Avoid copying pointers to user space.
From
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.

\
 
 \ /
  Last update: 2019-05-15 01:02    [W:0.041 / U:11.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site