[Bug 282346] usr.sbin/rtadvctl: command show displays incorrect values and there are conditions under which segmentation fault occurs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Oct 2024 06:19:48 UTC
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.