Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1517142
| From | Jesper Nilsson <jesper.nilsson@axis.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check |
| Date | 2016-11-08 14:00 +0100 |
| Message-ID | <sBeal-12r-7@gated-at.bofh.it> (permalink) |
| References | <sBdHj-SQ-3@gated-at.bofh.it> <sBdHk-SQ-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@axis.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: linux-cris-kernel@axis.com
> Signed-off-by: Johan Hovold <johan@kernel.org>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 3/3] serial: crisv10: fix invalid user-pointer check Johan Hovold <johan@kernel.org> - 2016-11-08 13:30 +0100 Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check Jesper Nilsson <jesper.nilsson@axis.com> - 2016-11-08 14:00 +0100
csiph-web