Date: Tue, 2 Sep 2008 14:34:01 GMT From: Andriy Syrovenko <andriys@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/127045: The setfib utility coredumps if called with fib value out of range Message-ID: <200809021434.m82EY1Tn042560@www.freebsd.org> Resent-Message-ID: <200809021440.m82Ee586055753@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127045 >Category: bin >Synopsis: The setfib utility coredumps if called with fib value out of range >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 02 14:40:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andriy Syrovenko >Release: 7.1-PRERELEASE >Organization: >Environment: FreeBSD cherry.fml27.intra 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 2 11:52:07 EEST 2008 root@cherry.fml27.intra:/usr/obj/usr/src/sys/CHERRY i386 >Description: The setfib utility coredumps if the supplied routing table is greater then the maximum table number in the system. In my case the kernel was compiled with options ROUTETABLES=4, so any time I call setfib with fib >= 4 it coredumps. >How-To-Repeat: Compile kernel with options ROUTETABLES=4 and then: -bash-3.2$ setfib 4 netstat -rn -f inet setfib: Segmentation fault: 11 (core dumped) >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809021434.m82EY1Tn042560>