aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorMichael Buesch <[email protected]>2011-04-11 21:00:44 +0000
committerChris Ball <[email protected]>2011-04-27 23:15:12 +0000
commitf69475142136c8ad9b9c717aea2ff907aed9f863 (patch)
treeb8eec05f142ef6b8563f64828362dfba816074d6 /security/selinux/hooks.c
parentmmc: core: mmc_add_card(): fix missing break in switch statement (diff)
downloadkernel-f69475142136c8ad9b9c717aea2ff907aed9f863.tar.gz
kernel-f69475142136c8ad9b9c717aea2ff907aed9f863.zip
mmc: omap: Fix possible NULL pointer deref
Either OMAP_MMC_STAT_CARD_ERR or OMAP_MMC_STAT_END_OF_CMD might fire if there is no host->cmd pointer. Check for a valid host->cmd pointer before calling mmc_omap_cmd_done(). Signed-off-by: Michael Buesch <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions