Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=WYAFKtIp; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=bvG5qZkb Received: by mail.netbsd.org (Postfix, from userid 605) id BC95684E7C; Wed, 24 Apr 2024 21:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713995980; bh=4deBIoPBTCww8AW5FgkA3ZiEDnY+DVKBqTzfP2bQmPA=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=WYAFKtIp7ZC/GQoG08wS9LVh7T3OCDfiE84Cly+hZ1uh3Bft/Re6tOtfNdaQmqpEC 3Alzs7rZFKeGA249dCD45gTdzT+jXdwYVliufv0L2XUZa3kMK5wfofGY40wFXZLDYF vy0iPc1oFBV4eK/QnnZEXms3iJV9THiFLSA1QoN0= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A90CC84E7A for ; Wed, 24 Apr 2024 21:59:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id A7pr2D16F3KF for ; Wed, 24 Apr 2024 21:59:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4AFFB84E72 for ; Wed, 24 Apr 2024 21:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713995979; bh=4deBIoPBTCww8AW5FgkA3ZiEDnY+DVKBqTzfP2bQmPA=; h=Date:From:Subject:To:Reply-To; b=bvG5qZkbP63nVROdo0JqT1Wco1Tz24eo14+6fF13IAt0py4/pmB1CJK667iSWdWGl a18PwPLfzEbOmj4m7XuPzihtP+Vj2aNXWCOFsBjNlJifRpZdYZUgPoNJ5ULoLA3XDf x6olL5ETvrp940hUn0QgjC1mo06O4no+OJMgZbuo= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3FBE0FA2C; Wed, 24 Apr 2024 21:59:39 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 24 Apr 2024 21:59:39 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.sbin/makefs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240424215939.3FBE0FA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Wed Apr 24 21:59:39 UTC 2024 Modified Files: src/usr.sbin/makefs: walk.c Log Message: makefs: fix out-of-bounds fsnode count in fsnode_sort Found by running './makefs img.dat cd9660'. While here, apply more KNF. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/makefs/walk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.