Linux kernel bug fix: gpio: mockup: return -EFAULT if copy_from_user() fails
Subsystem: drivers (drivers/gpio/gpio-mockup.c)
Bug type: crash, severity: high
Files changed: drivers/gpio/gpio-mockup.c
Introduced by Bartosz Golaszewski on 2017-02-13 08:36:47 +0100; fixed by Dan Carpenter on 2017-03-06 14:35:21 +0100 (lifetime: 21 days)