From nobody Sun Oct 27 06:19:48 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XbmZs3Cfyz5bfRt for ; Sun, 27 Oct 2024 06:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XbmZs1Cqmz4NB3 for ; Sun, 27 Oct 2024 06:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730009989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DcsckWZn+Pn3QaCJEKmkp+YeIwnjrV/jDyqvXKk+Bps=; b=p3jkCaWD5I3Qo3wnPeKNE91LROh+nX8bVM4S3/8LRCrUYtc3W2psFXIunRiL2RhpAr1ttv z9xl2EM+AYD5PuSEo7whnUmmB3EnXPDO25wmUuDLV9SseaX9BNvm0rAfuxNFfIzRv8CpqQ zmc24S2lO51a/uiIirpKw7ZDQYLbRu8/qDyu7tSrTbLV+aVFpHpzwRqWuF/uWbD1UMj/zU 1cO6lcLAf2I++ncj5BR7bU256JiPBpH9MKNor20E0otB4HyO4cnknu2zkOGNrVkkabVQAv 8G6yJhTuM6zTgO73huC8E+4wYEgyNVFQ+i25d1wFK4jWesjGmOw9p0YLp2CCFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730009989; a=rsa-sha256; cv=none; b=JEfcBHn8t8KkTNIRku98NjdXT6wtAyjwxFTGv1Ch8pvLSvp7EQ55jMgXpyG6kla1+7jc9Y L6yxgf2dHAmquH7p2O/RxqFNvpzRTecVuOibSy0VWwQwwtuZUPhYbH3S9YdCpJWETlrGe6 LUixMCkA0ABgkCFkXVXElvAUeAl4vwsbf5XzuAnV0YZlZ98yJLtNHwjVv4VISXnbH5OeLu ZpmB9WVoDeYKKh1ovGDLGrU6BkuMoRNoUurpFtg6D+zEWamRskI888OwZjGpAv6TgmiL3n RiBFCrmNJIBfGSBwJKp0fgNjcjIJtMXv8qoKDv6qTg18Pr5eH5PqP6UuQAjcBw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XbmZs0Pglzk2T for ; Sun, 27 Oct 2024 06:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49R6Jmix075685 for ; Sun, 27 Oct 2024 06:19:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49R6JmYS075684 for bugs@FreeBSD.org; Sun, 27 Oct 2024 06:19:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282346] usr.sbin/rtadvctl: command show displays incorrect values and there are conditions under which segmentation fault occurs Date: Sun, 27 Oct 2024 06:19:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282346 Bug ID: 282346 Summary: usr.sbin/rtadvctl: command show displays incorrect values and there are conditions under which segmentation fault occurs Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: tatsuki_makino@hotmail.com Created attachment 254551 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254551&action= =3Dedit attachments just to indicate where corrections need to be made ReachableTime and RetransTimer are millisecond values. However, it is treated as a second. If pfx->pfx_timer is not 0, it will try to display the contents of that pointer, but that will almost always result in a segmentation fault. This is because it is being passed a pointer in the process of rtadvd. To reproduce, do the following configure rtadvd.conf without using addr or prefixlen. start rtadvd. add an inet6 alias address to the interface that is sending RA. run rtadvctl -v show. Attachment will fix this problem. It's for my use, so it's better to make a new one :) --=20 You are receiving this mail because: You are the assignee for the bug.=