Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 15:11:12 -0700 (PDT)
From:      Nate Eldredge <neldredge@math.ucsd.edu>
To:        =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
Cc:        freebsd-hackers@freebsd.org, Chris St Denis <chris@smartt.com>
Subject:   Re: Bug in tcp wrappers?
Message-ID:  <Pine.GSO.4.64.0903151503350.3173@zeno.ucsd.edu>
In-Reply-To: <20090315144440.N24160@antec.home>
References:  <49BA9E63.3040000@smartt.com> <20090315144440.N24160@antec.home>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 15 Mar 2009, Mikko Työläjärvi wrote:

> The real fix involves rewriting chunks of the libwrap code, or finding
> a version where someone has already done so.

It doesn't seem like it should be too bad.  xgets is only called in three 
places.  It would be easy enough to replace it with something like glibc's 
getline(3), that uses realloc to size a buffer appropriately.

If nobody else feels like doing this, maybe I will.

-- 

Nate Eldredge
neldredge@math.ucsd.edu

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