[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161108125150.GY30704@axis.com>
Date: Tue, 8 Nov 2016 13:51:50 +0100
From: Jesper Nilsson <jesper.nilsson@...s.com>
To: Johan Hovold <johan@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, Mikael Starvik <starvik@...s.com>,
Jesper Nilsson <jespern@...s.com>, linux-cris-kernel@...s.com
Subject: Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check
On Tue, Nov 08, 2016 at 01:24:55PM +0100, Johan Hovold wrote:
> Drop invalid user-pointer check from TIOCGSERIAL handler.
>
> A NULL-pointer can be valid in user space and copy_to_user() takes care
> of sanity checking.
>
> Cc: Mikael Starvik <starvik@...s.com>
Acked-by: Jesper Nilsson <jesper.nilsson@...s.com>
> Cc: linux-cris-kernel@...s.com
> Signed-off-by: Johan Hovold <johan@...nel.org>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@...s.com
Powered by blists - more mailing lists