Received: by mail.netbsd.org (Postfix, from userid 605) id 82C7314A5DF; Fri, 6 Mar 2015 03:35:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8459714A5DE for ; Fri, 6 Mar 2015 03:35:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ecbM8YQFq0g4 for ; Fri, 6 Mar 2015 03:35:01 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0F6ED14A57A for ; Fri, 6 Mar 2015 03:35:01 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0059398; Fri, 6 Mar 2015 03:35:00 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 6 Mar 2015 03:35:00 +0000 From: "Tyler R. Retzlaff" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150306033501.0059398@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Tyler R. Retzlaff" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: rtr Date: Fri Mar 6 03:35:00 UTC 2015 Modified Files: src/sys/kern: uipc_syscalls.c Log Message: Return EINVAL if namelen isn't large enough to encompass the expected members of sockaddr structures. i.e. sa_len and sa_family. Discussed with and patch by christos@ To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/sys/kern/uipc_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.