From: David Matlack Date: Tue, 6 May 2014 04:02:31 +0000 (-0700) Subject: staging: slicoss: fix use-after-free in slic_entry_probe X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~569 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65bc0aaa9c2aa691e313a92250463008fb63266d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed