Date: Mon, 15 Jan 1996 18:09:25 -0800 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: ge R bekk <aagero@aage.aage.priv.no> Cc: freebsd-bugs@freebsd.org Subject: Re: host segfaults on empty host statement Message-ID: <5576.821758165@time.cdrom.com> In-Reply-To: Your message of "Mon, 15 Jan 1996 21:22:08 %2B0100." <199601152022.VAA06249@birk04.studby.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, fixed! Jordan > > $ /usr/bin/host -t hinfo > Segmentation fault (core dumped) > > The problem is that the argument after hinfo is not checked for a NULL > pointer. In line 220 of host.c, strcmp(v[1], ".") fails due to > dereferencing the NULL pointer v[1]. v[1] is the argument that follows > the type query. I also checked host.c in 4.9.3-REL and the problem is > still present there. > > -aage
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5576.821758165>