Re: [PATCH] drivers/mmc/card/block.c: fix potential null dereference 'idata'

From: Andy Shevchenko
Date: Tue May 10 2011 - 03:47:57 EST


On Mon, May 9, 2011 at 7:12 PM, Julia Lawall <julia@xxxxxxx> 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
--
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/