Subject: Re: Bug in netkey/key.c?
To: None <thorpej@zembu.com>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 06/24/2000 09:26:35
>While building a kernel on a devel machine (with __AUDIT__, just for fun),
>I noticed a bogus looking line of code around like 4860 of netkey/key.c:
>	if (mhp->extlen[SADB_EXT_SA] == NULL < sizeof(struct sadb_sa) ||
>I've changed it to:
>	if (mhp->extlen[SADB_EXT_SA] < sizeof(struct sadb_sa) ||
>...fyi.

	thanks, this definitely is a bug.

itojun