[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <001701cdab8c$93e1eac0$bba5c040$%jun@samsung.com>
Date: Tue, 16 Oct 2012 19:54:12 +0900
From: Seungwon Jeon <tgih.jun@...sung.com>
To: 'James Hogan' <james.hogan@...tec.com>,
'Chris Ball' <cjb@...top.org>,
'Will Newton' <will.newton@...tec.com>,
'Thomas Abraham' <thomas.abraham@...aro.org>
Cc: 'Jaehoon Chung' <jh80.chung@...sung.com>,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: RE: [PATCH] dw_mmc: fix multiple drv_data NULL dereferences
On Tuesday, October 16, James Hogan <james.hogan@...tec.com>
> Commit 800d78bfccb3d38116abfda2a5b9c8afdbd5ea21 ("mmc: dw_mmc: add
> support for implementation specific callbacks") merged in v3.7-rc1.
>
> The above commit introduced multiple NULL pointer dereferences when
> the default dw_mci_pltfm_probe() is used, as it sets host->drv_data to
> NULL, and that's only checked against NULL in 1 out of the 7 cases where
> it is dereferenced.
>
> Signed-off-by: James Hogan <james.hogan@...tec.com>
Acked-by: Seungwon Jeon <tgih.jun@...sung.com>
Looks good to me.
Thanks.
Seungwon Jeon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists