diff options
author | Michael Büsch <mb@bu3sch.de> | 2011-02-27 17:23:58 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2011-02-27 17:23:58 +0000 |
commit | 560ae67c671a9aeaac302dcd980686601d9f610d (patch) | |
tree | 59c11c9b667a770dda379f91107c5f7af2b410e1 /target/linux/omap24xx/patches-2.6.38 | |
parent | 5a3eb5f0759af8a07317ccb4763bfc2a7100b49d (diff) | |
download | mtk-20170518-560ae67c671a9aeaac302dcd980686601d9f610d.zip mtk-20170518-560ae67c671a9aeaac302dcd980686601d9f610d.tar.gz mtk-20170518-560ae67c671a9aeaac302dcd980686601d9f610d.tar.bz2 |
omap24xx: Fix possible MMC null ptr deref
SVN-Revision: 25758
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38')
-rw-r--r-- | target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch b/target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch new file mode 100644 index 0000000..a8eaaf8 --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch @@ -0,0 +1,13 @@ +Index: linux-2.6.38-rc6/drivers/mmc/host/omap.c +=================================================================== +--- linux-2.6.38-rc6.orig/drivers/mmc/host/omap.c 2011-02-27 16:56:51.714348509 +0100 ++++ linux-2.6.38-rc6/drivers/mmc/host/omap.c 2011-02-27 16:57:30.796529124 +0100 +@@ -832,7 +832,7 @@ + return IRQ_HANDLED; + } + +- if (end_command) ++ if (end_command && host->cmd) + mmc_omap_cmd_done(host, host->cmd); + if (host->data != NULL) { + if (transfer_error) |