NetBSD Problem Report #58980

From www@netbsd.org  Fri Jan 10 16:16:12 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9479C1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Jan 2025 16:16:12 +0000 (UTC)
Message-Id: <20250110161611.9E2D31A923B@mollari.NetBSD.org>
Date: Fri, 10 Jan 2025 16:16:11 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: bootloader freezes when running "splash\nboot"
X-Send-Pr-Version: www-1.0

>Number:         58980
>Category:       kern
>Synopsis:       bootloader freezes when running "splash\nboot"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 16:20:00 +0000 2025
>Originator:     Robert Whitlock
>Release:        
>Organization:
>Environment:
NetBSD/amd64 current, Nov 9 2024
>Description:
Drop into the command prompt for the bootloader and type

splash
boot

without a splash file. Then the system tries to boot but freezes while doing the / | \ - spinny thing.
>How-To-Repeat:
restart the computer
press 3 to enter the bootloader's interactive mode
type the following commands:

splash
boot
>Fix:
Add a check to the splash command to check that a file is actually passed, and print an error if not. Make sure that this does not result in uninitialized memory being used for the splash file.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.