Re: [PATCH] [RESEND] devres: Fix possible use after free

From: Maxin B John
Date: Wed Jun 15 2011 - 06:00:07 EST


Hi Tejun,

On Wed, Jun 15, 2011 at 9:13 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> Yeap, sounds mostly okay but there's no 'possible use after free'.
> Maybe something like, "devres uses the pointer value as key after it's
> freed, which is safe but triggers spurious use-after-free warnings on
> some static analysis tools.  Rearrange code to avoid such warnings".
>
Thanks a lot for this suggestion. I think, this describes the patch in
a much better way.

Warm Regards,
Maxin
--
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/