Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/netinet



On Tue, May 12, 2009 at 09:48:42PM +0000, Elad Efrat wrote:
> Module Name:  src
> Committed By: elad
> Date:         Tue May 12 21:48:42 UTC 2009
> 
> Modified Files:
>       src/sys/netinet: ip_carp.c
> 
> Log Message:
> Fix inverted permissions check.
> -             if ((l == NULL) || (error = kauth_authorize_network(l->l_cred,
> +             if ((l != NULL) || (error = kauth_authorize_network(l->l_cred,

That can't be right.  If l is NULL, then it should be dereferenced?

Is there a contest for tree breakage these days?

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpkZcC7XS2xd.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index