summaryrefslogtreecommitdiffstats
path: root/sys/conf/ldscript.mips
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2009-08-14 10:09:45 +0000
committerjulian <julian@FreeBSD.org>2009-08-14 10:09:45 +0000
commit4331ba05c56565411f17334d147e28403a968274 (patch)
tree504e12304a2e5a3fe7bece12bca37e10cfbb2494 /sys/conf/ldscript.mips
parentf0c0cd58a9223f8725e2816f60d24a24e70e56af (diff)
downloadFreeBSD-src-4331ba05c56565411f17334d147e28403a968274.zip
FreeBSD-src-4331ba05c56565411f17334d147e28403a968274.tar.gz
Fix ipfw crash on uid or gid check.
Receiving any ip packet for which there is no existing socket will crash if ipfw has a uid or gid test rule, as the uid/gid of the non existent owner of said non existent socket is tested. Brooks introduced this error as part of his >16 gids patch. It appears to be a cut-n-paste error from similar code a few lines before. The old code used the 'pcb' variable here, but in the new code that switched the 'inp' variable, which is often NULL and what is tested in the code further up. The rest of the multi-gid patch for ipfw seems solid (and cleaner than previous code). Reviewed by: brooks Approved by: re (rwatson)
Diffstat (limited to 'sys/conf/ldscript.mips')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud