Files
android_kernel_xiaomi_sm8450/drivers/base
Jerome Marchand c90aab9c96 platform driver: fix use-after-free in platform_device_del()
In platform_device_del(), the device is still used after a call to
device_del(). At this point there is no guarantee that the device is
still there and there could be a use-after-free access. Move the
call to device_remove_properties() before device_del() to fix that.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-31 15:13:56 +02:00
..
2015-09-17 06:06:54 -07:00
2016-01-22 18:04:28 -05:00
2015-10-04 19:42:22 +01:00
2014-09-01 13:48:59 +02:00