summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorVladimir Murzin <murzin.v@gmail.com>2013-04-09 22:33:31 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-13 09:44:51 -0700
commit5c29245cb650479f77b33453194e1e834029f2f9 (patch)
tree065bd981fbec618e99377315a318301b9960d8f3 /sound
parentc5d2935c1ce3d8c8bde02b744c55c10953d411dd (diff)
xhci: fix list access before init
commit 88696ae432ce7321540ac53d9caab3de9118b094 upstream. If for whatever reason we fall into fail path in xhci_mem_init() before bw table gets initialized we may access the uninitialized lists in xhci_mem_cleanup(). Check for bw table before traversing lists in cleanup routine. This patch should be backported to kernels as old as 3.2, that contain the commit 839c817ce67178ca3c7c7ad534c571bba1e69ebe "xhci: Store information about roothubs and TTs." Reported-by: Sergey Dyasly <dserrg@gmail.com> Tested-by: Sergey Dyasly <dserrg@gmail.com> Signed-off-by: Vladimir Murzin <murzin.v@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions