Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2024 06:19:48 +0000
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
Message-ID:  <bug-282346-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282346

            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=254551&action=edit
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 :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282346-227>