bin/127045: The setfib utility coredumps if called with fib value out of range

Andriy Syrovenko andriys at gmail.com
Tue Sep 2 14:40:05 UTC 2008


>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 at 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:


More information about the freebsd-bugs mailing list