Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id E2DFD63B8C8 for ; Wed, 1 Apr 2009 07:56:20 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 7F05E63B286; Wed, 1 Apr 2009 07:56:20 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 9031F63B169 for ; Wed, 1 Apr 2009 07:56:19 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 65F41175D0; Wed, 1 Apr 2009 07:56:19 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Wed, 1 Apr 2009 07:56:19 +0000 From: Alan Barrett Subject: CVS commit: pkgsrc/net/nmap To: pkgsrc-changes@NetBSD.org Reply-To: apb@netbsd.org X-Mailer: log_accum Message-Id: <20090401075619.65F41175D0@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: apb Date: Wed Apr 1 07:56:19 UTC 2009 Modified Files: pkgsrc/net/nmap: distinfo Added Files: pkgsrc/net/nmap/patches: patch-ad Log Message: Correct handling of the length of data returned by SIOCGIFCONF. The actual length of each item is never less than sizeof(struct ifreq), but may be more than that. If the platform's struct sockaddr has an sa_len field, and if the length in sa_len is larger then the space available in ifr_ifru, then the data extends beyond the end of the ifr_ifru field by the difference in sizes. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 pkgsrc/net/nmap/distinfo cvs rdiff -u -r0 -r1.13 pkgsrc/net/nmap/patches/patch-ad Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.