Date: Sat, 12 Oct 2002 18:09:03 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Terry Lambert <tlambert2@mindspring.com> Cc: Kris Kennaway <kris@obsecurity.org>, jwe@che.utexas.edu, current@FreeBSD.org Subject: Re: [PATCH] Re: man dumps core if no manpath.config directories exist Message-ID: <20021013010903.GA98767@xor.obsecurity.org> In-Reply-To: <3DA8C643.7F7235B1@mindspring.com> References: <20021012225115.GA96279@xor.obsecurity.org> <3DA8C643.7F7235B1@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 12, 2002 at 06:02:59PM -0700, Terry Lambert wrote: > Kris Kennaway wrote: > > It's pretty clear what's going on..none of the directories in > > /etc/manpath.config exist, so len=3D0, so malloc(0) "succeeds" and does > > nothing, leaving manpathlist a null pointer. > >=20 > > This situation can occur if e.g. you install the 'base' freebsd > > distribution into a jail, without installing any of the manpages. In > > this situation none of the manpage directories are created either. >=20 > Uh... so fix it? That's why I reported it. > Patch attached. Thanks. Kris --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9qMeuWry0BWjoQKURAgvnAJ9vxTmRpHKUR/fRLnFqwP3n6NeCLQCghBrw tVRDAK1ScTom9lNBnuI+FzY= =puB1 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021013010903.GA98767>