bin/124724: [patch] netstat(1): netstat coredump on -stable

Jaakko Heinonen jh at saunalahti.fi
Fri Jan 9 04:00:12 PST 2009


The following reply was made to PR bin/124724; it has been noted by GNATS.

From: Jaakko Heinonen <jh at saunalahti.fi>
To: Li yonggang <leeygang at gmail.com>
Cc: bug-followup at 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


More information about the freebsd-bugs mailing list