NetBSD Problem Report #59642

From www@netbsd.org  Mon Sep  8 22:16:13 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 40FC21A923C
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  8 Sep 2025 22:16:13 +0000 (UTC)
Message-Id: <20250908221612.5C6C11A923D@mollari.NetBSD.org>
Date: Mon,  8 Sep 2025 22:16:12 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: kdump doesn't show port number for mbsoname
X-Send-Pr-Version: www-1.0

>Number:         59642
>Category:       bin
>Synopsis:       kdump doesn't show port number for mbsoname
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 08 22:20:00 +0000 2025
>Last-Modified:  Sun Sep 14 21:35:01 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
The NotBSD Foundaportnumber
>Environment:
>Description:
kdump only shows the address, not the port number.
>How-To-Repeat:
$ ktrace nc 127.0.0.1 12345
$ kdump | grep mbsoname
 27575  27575 nc       MISC  mbsoname: [127.0.0.1]


>Fix:
Yes, please!

Use more %-directives in sockaddr_snprintf.

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59642 CVS commit: src/usr.bin/kdump
Date: Sun, 14 Sep 2025 17:32:40 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Sun Sep 14 21:32:40 UTC 2025

 Modified Files:
 	src/usr.bin/kdump: kdump.c

 Log Message:
 PR/59642: Taylor R Campbell: kdump doesn't show port number for mbsoname


 To generate a diff of this commit:
 cvs rdiff -u -r1.146 -r1.147 src/usr.bin/kdump/kdump.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

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.