Re: [PATCH v2] USB: HID: Fix fields from pen report ID being interpreted for multitouch.

From: Jiri Kosina
Date: Wed Jul 08 2015 - 05:30:58 EST


On Fri, 19 Jun 2015, Brent Adam wrote:

> Fields like HID_DG_CONTACTCOUNT are outside of the physical collection,
> but within the application collection and report ID. Make sure to catch
> those fields that are not part of the mt_report_id and return 0 so they
> can be processed with the pen. Otherwise, the wrong HID_DG_CONTACTCOUNT
> will be applied to cc_index and result in dereferencing a null pointer in
> mt_touch_report.
>
> Signed-off-by: Brent Adam <brentadam@xxxxxxxxxxxxx>

I am applying this to for-4.2/upstream-fixes. Thanks,

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/