[lkml]   [2011]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drivers/mmc/card/block.c: fix potential null dereference 'idata'
On Mon, May 9, 2011 at 7:12 PM, Julia Lawall <> wrote:
> I guess there is also a point at which idata has been successfully
> allocated but idata->buf has not.
And? kfree() simple ignores NULL pointers.
I would prefer to see previous version of patch, but let maintainer to choose.

With Best Regards,
Andy Shevchenko

 \ /
  Last update: 2011-05-10 09:51    [W:0.055 / U:1.368 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site