Bug 212105

Summary: ipfw dumps core after adding rule with table
Product: Base System Reporter: Bjoern A. Zeeb <bz>
Component: binAssignee: freebsd-ipfw (Nobody) <ipfw>
Status: Closed FIXED    
Severity: Affects Some People CC: R100500B, ae, bz, melifaro, pi
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212576
Bug Depends on:    
Bug Blocks: 212077    

Description Bjoern A. Zeeb freebsd_committer freebsd_triage 2016-08-24 11:42:01 UTC
Debugging 203735 I noticed the following behaviour:

root@:/ # ipfw show
65535 0 0 allow ip from any to any

root@:/ # ipfw add 1 allow ip from 'table(99)' to me
00001 allow ip from table(99) to me

root@:/ # ipfw show
Segmentation fault (core dumped)


Can someone please have a look.  In my case this is with a VIMAGE kernel but that shouldn't matter on the user space binary.
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2016-08-24 12:26:46 UTC
Seems to be related after all;  once I start the first vnet jail ipfw show dumps core even in the base system.  Anyone any ideas?
Comment 2 Andrey V. Elsukov freebsd_committer freebsd_triage 2016-09-30 03:37:47 UTC
Should be fixed in r306475.