Received: by mail.netbsd.org (Postfix, from userid 605) id 2103285F03; Mon, 25 Apr 2016 22:26:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A244685EC9 for ; Mon, 25 Apr 2016 22:26:50 +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 IbgMsMw9xL6V for ; Mon, 25 Apr 2016 22:26:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 49CF084CFD for ; Mon, 25 Apr 2016 22:26:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 43E75FBBA; Mon, 25 Apr 2016 22:26:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 25 Apr 2016 22:26:50 +0000 From: "Pierre Pronchery" Subject: CVS commit: src/sys/dev/splash To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160425222650.43E75FBBA@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: "Pierre Pronchery" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: khorben Date: Mon Apr 25 22:26:50 UTC 2016 Modified Files: src/sys/dev/splash: splash.c Log Message: Do not panic if the splash screen is bigger than the framebuffer This fixes a kernel crash if the splash screen does not fit inside the framebuffer. It should probably be truncated (and optionally centered) instead, but this avoids a panic in the meantime. Tested on NetBSD/amd64 with a vesa framebuffer. From Christian Koch (cfkoch@) of EdgeBSD; thanks! XXX pull-up(s) To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/splash/splash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.