Received: by mail.netbsd.org (Postfix, from userid 605) id 892B114A3BC; Mon, 30 Jan 2012 01:54:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EE44F14A3A9 for ; Mon, 30 Jan 2012 01:54:08 +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 0y17u3oR-hFr for ; Mon, 30 Jan 2012 01:54:08 +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 63C3414A2C2 for ; Mon, 30 Jan 2012 01:54:08 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 97072175DD; Mon, 30 Jan 2012 01:54:08 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Mon, 30 Jan 2012 01:54:08 +0000 From: "Mindaugas Rasiukevicius" Subject: CVS commit: src/sys/dev/wscons To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120130015408.97072175DD@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: "Mindaugas Rasiukevicius" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: rmind Date: Mon Jan 30 01:54:08 UTC 2012 Modified Files: src/sys/dev/wscons: wsmux.c Log Message: wsmux_getmux: do not increment nwsmux if allocation fails (might cause buffer overflow). Simplify slightly. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/dev/wscons/wsmux.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.