lkml.org 
[lkml]   [2012]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] mmc: Avoid null pointer dereference
Date
Hi,

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

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

- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child


\
 
 \ /
  Last update: 2012-05-10 03:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site