NetBSD Problem Report #59173
From www@netbsd.org Thu Mar 13 11:25:58 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 023F51A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Mar 2025 11:25:58 +0000 (UTC)
Message-Id: <20250313112556.907591A923C@mollari.NetBSD.org>
Date: Thu, 13 Mar 2025 11:25:56 +0000 (UTC)
From: emmankoko519@gmail.com
Reply-To: emmankoko519@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Use of uninitialized variables in firewire link layer driver
X-Send-Pr-Version: www-1.0
>Number: 59173
>Category: kern
>Synopsis: Use of initialized variables in firewire link layer driver
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 13 11:30:00 +0000 2025
>Last-Modified: Thu Mar 13 13:50:01 +0000 2025
>Originator: Emmanuel Nyarko
>Release: 10.0
>Organization:
NetBSD
>Environment:
NetBSD 10.99.12 amd64
>Description:
Use of uninitialized broadcast address in ARP multicast in sys/net/if_ieee1394subr.c.
it is part of the link layer driver for the Firewire when sending frames over the firewire bus.
https://nxr.netbsd.org/xref/src/sys/net/if_ieee1394subr.c#132
>How-To-Repeat:
Code inspection
>Fix:
find proper initializers.
>Release-Note:
>Audit-Trail:
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/59173: Use of initialized variables in firewire link layer
driver
Date: Thu, 13 Mar 2025 09:44:56 -0400
On 2025-03-13 7:30 am, emmankoko519@gmail.com wrote:
>> Number: 59173
>> Category: kern
>> Synopsis: Use of initialized variables in firewire link layer
>> driver
>> Confidential: no
>> Severity: non-critical
>> Priority: medium
>> Responsible: kern-bug-people
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Thu Mar 13 11:30:00 +0000 2025
>> Originator: Emmanuel Nyarko
>> Release: 10.0
>> Organization:
> NetBSD
>> Environment:
> NetBSD 10.99.12 amd64
>> Description:
> Use of uninitialized broadcast address in ARP multicast in
> sys/net/if_ieee1394subr.c.
>
I think it is not used in the broadcast/multicast code. The following
diff makes it more clear:
http://www.astron.com/~christos/NetBSD/if_ieee1394subr.c.diff
christos
>Unformatted:
(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.