Subject: Bug in netkey/key.c?
To: None <>
From: Jason R Thorpe <>
List: tech-net
Date: 06/23/2000 17:12:45
[ itojun -- sorry about the CC, but I wanted to make sure you got a
  copy of this asap... ]

Hi folks...

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) ||

        -- Jason R. Thorpe <>