Received: by mail.netbsd.org (Postfix, from userid 605) id 30D3884D64; Sat, 19 Aug 2017 05:37:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B0CC684D80 for ; Sat, 19 Aug 2017 05:37:04 +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 pPvk4YG9Gh3i for ; Sat, 19 Aug 2017 05:37:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4D6E784D82 for ; Sat, 19 Aug 2017 05:37:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 425A7FAD0; Sat, 19 Aug 2017 05:37:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 19 Aug 2017 05:37:04 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-6-1] src/sys/altq To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170819053704.425A7FAD0@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: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: snj Date: Sat Aug 19 05:37:04 UTC 2017 Modified Files: src/sys/altq [netbsd-6-1]: altq_cbq.c altq_hfsc.c altq_jobs.c altq_priq.c altq_wfq.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1488): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.32.1 src/sys/altq/altq_cbq.c cvs rdiff -u -r1.24 -r1.24.52.1 src/sys/altq/altq_hfsc.c cvs rdiff -u -r1.6.28.1 -r1.6.28.2 src/sys/altq/altq_jobs.c cvs rdiff -u -r1.21 -r1.21.32.1 src/sys/altq/altq_priq.c cvs rdiff -u -r1.19 -r1.19.50.1 src/sys/altq/altq_wfq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.