Re: [PATCH] Input: gtco: fix crash on detecting device without endpoints

2016-03-31 Thread Dmitry Torokhov
On Fri, Mar 18, 2016 at 07:35:00PM +0100, Vladis Dronov wrote: > The gtco driver expects at least one valid endpoint. If given > malicious descriptors that specify 0 for the number of endpoints, > it will crash in the probe function. Ensure there is at least > one endpoint on the interface before u

Re: [PATCH] Input: gtco: fix crash on detecting device without endpoints

2016-03-21 Thread Vladis Dronov
>> The full report of this issue can be found here: >> http://seclists.org/bugtraq/2016/Mar/86 The subject and the body of the above message are not matching and the message does not describe the gtco driver bug. The full correct report of this issue can be found in the public Red Hat Bugzilla:

[PATCH] Input: gtco: fix crash on detecting device without endpoints

2016-03-19 Thread Vladis Dronov
The gtco driver expects at least one valid endpoint. If given malicious descriptors that specify 0 for the number of endpoints, it will crash in the probe function. Ensure there is at least one endpoint on the interface before using it. Fix minor coding style issue. The full report of this issue c