lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160207073103.GA1311@kroah.com>
Date:	Sat, 6 Feb 2016 23:31:03 -0800
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Rahul Pathak <rahulpathaklinux@...il.com>
Cc:	jslaby@...e.com, samuel.thibault@...-lyon.org, pavel@....cz,
	dmitry.torokhov@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty: vt: use memdup_user to reuse the code

On Sun, Dec 20, 2015 at 12:15:33AM +0530, Rahul Pathak wrote:
> Fixing coccicheck warning which recommends to use memdup_user instead
> to reimplement its code, using memdup_user simplifies the code
> 
> ./drivers/tty/vt/keyboard.c:1709:9-16: WARNING opportunity for memdup_user
> ./drivers/tty/vt/keyboard.c:1752:9-16: WARNING opportunity for memdup_user
> 
> Signed-off-by: Rahul Pathak <rahulpathaklinux@...il.com>
> Acked-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
> ---
>  drivers/tty/vt/keyboard.c | 28 ++++++++--------------------
>  1 file changed, 8 insertions(+), 20 deletions(-)

Someone else sent half of this patch already, can you redo it against my
tty-testing branch of the tty.git tree and resend it?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ