Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 15:53:24 -0600
From:      Bill Fumerola <billf@mu.org>
To:        mouss <usebsd@free.fr>
Cc:        security@FreeBSD.ORG
Subject:   Re: ipfw/dummy: memory leak or what?
Message-ID:  <20001204155324.J75794@elvis.mu.org>
In-Reply-To: <4.3.0.20001204204204.04b31e90@pop.free.fr>; from usebsd@free.fr on Mon, Dec 04, 2000 at 08:48:38PM %2B0100
References:  <4.3.0.20001204204204.04b31e90@pop.free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 04, 2000 at 08:48:38PM +0100, mouss wrote:
> while looking at the ip_input code, and more particularly at the dummy net 
> stuff
> in the start, I saw the
> 	m = m->m_next;
> 
> given that m is supposed to be freed wen delivered, I don't see when is the 
> dummy
> net mbuf (the one containing the rule, and that is skipped by the ->m_next 
> above)
> will be freed.
> Is this a memory leak opprotunity or am I missing something?

that line of code occurs 1328408120847192384719238128401382 times in the net
code. you might want to give some context to what you're trying to say.

-- 
Bill Fumerola - security yahoo         / Yahoo! inc.
              - fumerola@yahoo-inc.com / billf@FreeBSD.org





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001204155324.J75794>