Date: Fri, 9 Jan 2009 12:00:10 GMT From: Jaakko Heinonen <jh@saunalahti.fi> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/124724: [patch] netstat(1): netstat coredump on -stable Message-ID: <200901091200.n09C0AFI045008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/124724; it has been noted by GNATS. From: Jaakko Heinonen <jh@saunalahti.fi> To: Li yonggang <leeygang@gmail.com> Cc: bug-followup@FreeBSD.org Subject: Re: bin/124724: [patch] netstat(1): netstat coredump on -stable Date: Fri, 9 Jan 2009 13:51:16 +0200 Hi, On 2009-01-09, Li yonggang wrote: > I think the root cause is that netstat does not check if the input is > correct. so I think we should add some input checker while remove > the > BACKWARD_PATIBILITY code, which will lead to use incorrect input. Did you see my analysis and the patch for the problem? http://lists.freebsd.org/pipermail/freebsd-bugs/2008-June/031294.html Your patch doesn't address the "netstat -m -N foo" case. It also removes the backward compatibility code. I don't know if that code has any real value but I don't see need to remove it to fix this bug. -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901091200.n09C0AFI045008>