Re: [PATCH 1/2] mmc: Avoid null pointer dereference

From: Chris Ball
Date: Wed May 09 2012 - 20:54:40 EST


Hi,

On Wed, May 09 2012, Namjae Jeon wrote:
> Hi. Chris.
>
> Would you check this patch ?
>
> Thanks.
>
> 2012/4/12, Namjae Jeon <linkinjeon@xxxxxxxxx>:
>> 2012/4/12 Philippe De Swert <philippedeswert@xxxxxxxxx>:
>>> After the null check on md the code jumped to cmd_done, which then
>>> will dereference md in mmc_blk_put. This patch avoids the possible
>>> null pointer dereference in that case.
>>>
>>> Signed-off-by: Philippe De Swert <philippedeswert@xxxxxxxxx>
>> This patch is good also.
>> Reviewed-by: Namjae Jeon <linkinjeon@xxxxxxxxx>

Thanks for the reminder -- pushed to mmc-next for 3.5.

- Chris.
--
Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/