Re: [PATCH] staging: fix possible use-before-NULL-check crash

From: Kees Cook
Date: Wed Oct 06 2010 - 20:13:12 EST


Hi Greg,

On Wed, Oct 06, 2010 at 03:51:04PM -0700, Greg KH wrote:
> Nice catch, but I don't think that the dev pointer can ever be NULL
> here.

Yeah, I didn't think so either, but figured it was best to fix it anyway.

-Kees

--
Kees Cook
Ubuntu Security Team
--
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/