NetBSD/dist
agc a43651f235 Modify netmask calculation so that /0 is fast-tracked, and so that network
addresses with bit 31 set are processed properly.

Fix from Hiroshi Nakamoto in PR 34578.

	[22:09:17] agc@inspiron1300 ...dist/iscsi/src 26 > ./n 10.4/16 10.4.0.29 10.4/16 10.5.0.29 10.4/0 10.4.0.19 10.4 10.4.0.19 10.4.3/8 10.4.3.7 10.4.3/24 10.4.3.7
	addr 10.4.0.29 00000a04, mask 10.4.0.0 00000a04, slash 16
	mask 10.4/16 matches addr 10.4.0.29

	addr 10.5.0.29 00000a05, mask 10.4.0.0 00000a04, slash 16
	No match for mask 10.4/16 from addr 10.5.0.29

	mask 10.4/0 matches addr 10.4.0.19

	addr 10.4.0.19 0a040013, mask 10.4.0.0 0a040000, slash 32
	No match for mask 10.4 from addr 10.4.0.19

	addr 10.4.3.7 0000000a, mask 10.4.3.0 0000000a, slash 8
	mask 10.4.3/8 matches addr 10.4.3.7

	addr 10.4.3.7 000a0403, mask 10.4.3.0 000a0403, slash 24
	mask 10.4.3/24 matches addr 10.4.3.7

	[22:09:20] agc@inspiron1300 ...dist/iscsi/src 27 > ./n any 192.168.0.1
	mask any matches addr 192.168.0.1
2006-11-27 22:24:27 +00:00
..
am-utils Fix use after free. 2006-04-05 14:59:29 +00:00
bind Fixes for CVE-2006-4095 and CVE-2006-4096 from bind-9.3.2-P1 2006-09-05 19:31:47 +00:00
bzip2 Only dereference b after it has been NULL checked. 2006-03-17 02:52:56 +00:00
dhcp Hopping through a void* is not enough to get rid of alignment requirements. 2006-11-23 13:07:17 +00:00
file Remove a strange #if that broke libmagic for most 64 bit archs. 2006-11-14 14:12:24 +00:00
hostapd don't use a variable array on the stack for a stupid reason. 2006-11-09 20:12:29 +00:00
ipf Coverity CID 3013: Don't check for NULL after deref! (from Arnaud Lacombe) 2006-10-03 18:18:18 +00:00
iscsi Modify netmask calculation so that /0 is fast-tracked, and so that network 2006-11-27 22:24:27 +00:00
libpcap add a volatile variable to prevent vfork/longjmp clobbering. 2006-10-15 19:27:21 +00:00
nawk strdup/strlcat/snprintf changes from Aleksey Cheusov 2006-07-26 20:46:37 +00:00
ntp spell precede; from Zafer 2006-11-25 16:48:31 +00:00
openpam Update the manual section 2006-06-14 16:23:46 +00:00
pdisk comment out impossible code. 2006-10-24 20:45:33 +00:00
pf PR/35039: jklowden: Fix example to include -i or -p for ipf or pf. 2006-11-12 06:24:08 +00:00
pppd Patch from Christos Zoulas: 2006-11-05 09:16:20 +00:00
smbfs kill empty else. 2006-10-16 03:38:08 +00:00
tcpdump spell precede; from Zafer 2006-11-25 16:48:31 +00:00
wpa_supplicant Resolve conflicts for wpa_supplicant 0.4.9 import. 2006-05-25 04:07:22 +00:00