aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKrzysztof Mazur <krzysiek@podlesie.net>2013-08-22 14:49:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-20 12:31:40 -0800
commita35bbad6526cf3de01a4344b3c36d5e1e292bbd1 (patch)
treebca701af9c1990c8f4c07e1388c8ce15ecab5063 /lib/mpi/mpiutil.c
parentb2c2f76356a3acca905be36a07b43b9f586abdcc (diff)
usb: fail on usb_hub_create_port_device() errors
commit e58547eb9561a8a72d46e2d411090a614d33ac0e upstream. Ignoring usb_hub_create_port_device() errors cause later NULL pointer deference when uninitialized hub->ports[i] entries are dereferenced after port memory allocation error. Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions