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
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1056796358-1237155072=:3173
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sun, 15 Mar 2009, Mikko Ty=F6l=E4j=E4rvi 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=
=20
places.  It would be easy enough to replace it with something like glibc's=
=20
getline(3), that uses realloc to size a buffer appropriately.

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

--=20

Nate Eldredge
neldredge@math.ucsd.edu
---559023410-1056796358-1237155072=:3173--



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