commit | 65bc0aaa9c2aa691e313a92250463008fb63266d | [log] [tgz] |
---|---|---|
author | David Matlack <dmatlack@google.com> | Mon May 05 21:02:31 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 23 20:08:33 2014 +0900 |
tree | 7c329d7b470a78b7997ced503facf621edda7737 | |
parent | 8522851e3bc1b2198ec0e7eb48694ae326dc6840 [diff] |
staging: slicoss: fix use-after-free in slic_entry_probe This patch fixes a use-after-free bug that can cause a kernel oops. If slic_card_init fails then slic_entry_probe (the pci probe() function for this device) will return error without cleaning up memory. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>