Messages in this thread | | | Date | Tue, 29 Jul 2014 11:29:42 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size |
| |
On Thu, 17 Jul 2014, Andrew Duggan wrote:
> It is possible that the hid-rmi driver could get loaded onto a device which does not have the > expected report ids. This should not happen because it would indicate that the hid-rmi driver is > not compatible with that device. However, if it does happen it should return an error from probe > instead of dereferencing a null pointer. > > related bug: > https://bugzilla.kernel.org/show_bug.cgi?id=80091 > > Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Applied, thanks.
-- Jiri Kosina SUSE Labs
| |