]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
staging: dwc2: fix potential null pointer access
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Mon, 22 Apr 2013 21:00:16 +0000 (14:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Apr 2013 17:37:55 +0000 (10:37 -0700)
commitddf58468e0e787b739a623594f52f9f43a188037
treedea0c37e2d271eded00ab7696cf2852a962c4688
parenta9b3ea3dbbb54f9160465f6f1086f877e958fdcc
staging: dwc2: fix potential null pointer access

We were testing hsotg pointer for null after we had already
dereferenced it

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_ddma.c