Messages in this thread | | | Date | Tue, 3 Jul 2018 11:55:48 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH] HID: debug: check length before copy_to_user() |
| |
On Tue, 3 Jul 2018, Benjamin Tissoires wrote:
> > If our length is greater than the size of the buffer, we > > overflow the buffer > > > > Signed-off-by: Daniel Rosenberg <drosen@google.com> > > Cc: stable@vger.kernel.org > > --- > > Looks good: > Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Indeed, thanks a lot for fixing this. Now queued, I'll push it for 4.18.
-- Jiri Kosina SUSE Labs
| |