Re: [PATCH 1 of 1]: musb: fixed a potential NULL pointer dereference.

2014-02-13 Thread Dr. H. Nikolaus Schaller
Am 12.02.2014 um 17:20 schrieb Greg Kroah-Hartman: > On Wed, Feb 12, 2014 at 04:35:12PM +0100, Dr. H. Nikolaus Schaller wrote: >> >> Am 12.02.2014 um 15:29 schrieb Greg Kroah-Hartman: >> >>> On Wed, Feb 12, 2014 at 11:08:22AM +0100, Dr. H. Nikolaus Schaller wrote: fixed a potential NULL po

Re: [PATCH 1 of 1]: musb: fixed a potential NULL pointer dereference.

2014-02-12 Thread Greg Kroah-Hartman
On Wed, Feb 12, 2014 at 04:35:12PM +0100, Dr. H. Nikolaus Schaller wrote: > > Am 12.02.2014 um 15:29 schrieb Greg Kroah-Hartman: > > > On Wed, Feb 12, 2014 at 11:08:22AM +0100, Dr. H. Nikolaus Schaller wrote: > >> fixed a potential NULL pointer dereference. > >> > >>Rationale: > >>this i

Re: [PATCH 1 of 1]: musb: fixed a potential NULL pointer dereference.

2014-02-12 Thread Dr. H. Nikolaus Schaller
Am 12.02.2014 um 15:29 schrieb Greg Kroah-Hartman: > On Wed, Feb 12, 2014 at 11:08:22AM +0100, Dr. H. Nikolaus Schaller wrote: >> fixed a potential NULL pointer dereference. >> >>Rationale: >>this is the only location in the musb driver where the >>otg->gadget pointer is dereferenced

Re: [PATCH 1 of 1]: musb: fixed a potential NULL pointer dereference.

2014-02-12 Thread Greg Kroah-Hartman
On Wed, Feb 12, 2014 at 11:08:22AM +0100, Dr. H. Nikolaus Schaller wrote: > fixed a potential NULL pointer dereference. > > Rationale: > this is the only location in the musb driver where the > otg->gadget pointer is dereferenced. Assuming that it > is never NULL is not only po

[PATCH 1 of 1]: musb: fixed a potential NULL pointer dereference.

2014-02-12 Thread Dr. H. Nikolaus Schaller
fixed a potential NULL pointer dereference. Rationale: this is the only location in the musb driver where the otg->gadget pointer is dereferenced. Assuming that it is never NULL is not only potentially unsafe but was observed in the wild on a GTA04 (OMAP3/TPS65950 based