Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

From: Jiri Kosina
Date: Tue Jul 29 2014 - 05:29:48 EST

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:
> Signed-off-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx>

Applied, thanks.

Jiri Kosina
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at