2012-05-10 00:43:10

by Namjae Jeon

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

Hi. Chris.

Would you check this patch ?

Thanks.

2012/4/12, Namjae Jeon <[email protected]>:
> 2012/4/12 Philippe De Swert <[email protected]>:
>> 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 <[email protected]>
> This patch is good also.
> Reviewed-by: Namjae Jeon <[email protected]>
>


2012-05-10 00:54:45

by Chris Ball

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

Hi,

On Wed, May 09 2012, Namjae Jeon wrote:
> Hi. Chris.
>
> Would you check this patch ?
>
> Thanks.
>
> 2012/4/12, Namjae Jeon <[email protected]>:
>> 2012/4/12 Philippe De Swert <[email protected]>:
>>> 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 <[email protected]>
>> This patch is good also.
>> Reviewed-by: Namjae Jeon <[email protected]>

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

- Chris.
--
Chris Ball <[email protected]> <http://printf.net/>
One Laptop Per Child