NetBSD/sys/netinet6
dyoung a055a1e00a Under some circumstances, udp6_output() would call ip6_clearpktopts()
with an uninitialized struct ip6_pktopts on the stack, opt.
ip6_clearpktopts(&opt, ...) could dereference dangling pointers,
leading to memory corruption or a crash.  Now, udp6_output() calls
ip6_clearpktopts(&opt, ...) only if opt was initialized. Thanks to
Clement LECIGNE for reporting this bug.

Fix a potential memory leak: it is udp6_output()'s responsibility
to free its mbuf arguments on error.  In the unlikely event that
sa6_embedscope() failed, udp6_output() would not free its mbuf
arguments.

I will ask for this to be pulled up to -4, -5, and -5-0.
2010-07-15 23:46:55 +00:00
..
Makefile
ah.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
ah_aesxcbcmac.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
ah_aesxcbcmac.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
ah_core.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
ah_input.c bcmp -> memcmp 2009-03-18 15:14:29 +00:00
ah_output.c bzero -> memset 2009-03-18 16:00:08 +00:00
dest6.c
esp.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
esp_aesctr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
esp_aesctr.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
esp_core.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
esp_input.c bzero -> memset 2009-03-18 16:00:08 +00:00
esp_output.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
esp_rijndael.c
esp_rijndael.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
files.ipsec
files.netinet6
frag6.c bzero -> memset 2009-03-18 16:00:08 +00:00
icmp6.c fix the sun2 case for real. 2009-10-18 22:57:05 +00:00
icmp6_private.h
in6.c When choosing IPv6 source addresses, respect the ifaddr preference 2010-04-22 20:05:15 +00:00
in6.h Make ifconfig(8) set and display preference numbers for IPv6 2009-09-11 22:06:29 +00:00
in6_cksum.c
in6_gif.c Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
in6_gif.h
in6_ifattach.c backout the changes that establish a workqueue to synchronize the addresses 2009-09-19 13:11:02 +00:00
in6_ifattach.h backout the changes that establish a workqueue to synchronize the addresses 2009-09-19 13:11:02 +00:00
in6_offload.c
in6_offload.h
in6_pcb.c POOL_INIT -> pool_init 2009-05-26 00:17:56 +00:00
in6_pcb.h - Make in6_pcbbind_{addr,port}() static 2009-04-30 18:18:34 +00:00
in6_proto.c Explicitly include opt_gateway.h when depending on GATEWAY. 2010-02-04 21:48:11 +00:00
in6_src.c Remove declaration of unused extern struct ifnet loif[NLOOP], which 2009-05-25 22:49:23 +00:00
in6_var.h mention that you'll need to update compat if you change the size of in6_ifreq. 2009-01-15 23:22:15 +00:00
ip6_etherip.c Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf 2010-04-05 07:19:28 +00:00
ip6_etherip.h
ip6_flow.c Init ip6flow pool dynamically instead of using a linkset. 2009-03-23 18:43:20 +00:00
ip6_forward.c Explicitly include opt_gateway.h when depending on GATEWAY. 2010-02-04 21:48:11 +00:00
ip6_id.c
ip6_input.c Explicitly include opt_gateway.h when depending on GATEWAY. 2010-02-04 21:48:11 +00:00
ip6_mroute.c Replace a large number of link set based sysctl node creations with 2009-09-16 15:23:04 +00:00
ip6_mroute.h bcopy -> memcpy 2009-03-18 17:06:41 +00:00
ip6_output.c Remove some more "priv" variable usage in favor of kauth(9) calls. 2009-05-07 21:51:47 +00:00
ip6_private.h
ip6_var.h Remove some usage of "priv" and "privileged" variables and instead pass 2009-05-06 21:41:59 +00:00
ip6protosw.h
ipcomp.h
ipcomp_core.c bzero -> memset 2009-03-18 16:00:08 +00:00
ipcomp_input.c
ipcomp_output.c bzero -> memset 2009-03-18 16:00:08 +00:00
ipsec.c Collapse identical switch cases. 2009-12-30 23:23:58 +00:00
ipsec.h Remove some usage of "priv" and "privileged" variables and instead pass 2009-05-06 21:41:59 +00:00
ipsec_private.h
mld6.c Use malloc(...|M_ZERO) instead of malloc(...) followed by memset(,0,). 2009-08-04 22:04:23 +00:00
mld6_var.h
nd6.c To help find the cause of kernel complaints such as "/netbsd: 2010-07-15 19:15:30 +00:00
nd6.h Fix net.inet6.ip6.accept_rtadv and 'ndp -i <interface> accept_rtadv': 2009-11-06 20:41:22 +00:00
nd6_nbr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
nd6_rtr.c Fix net.inet6.ip6.accept_rtadv and 'ndp -i <interface> accept_rtadv': 2009-11-06 20:41:22 +00:00
pim6.h
pim6_var.h
raw_ip6.c Remove unnecessary casts from struct route * to struct route *. 2010-07-08 01:22:28 +00:00
raw_ip6.h
route6.c
scope6.c Make ifconfig(8) set and display preference numbers for IPv6 2009-09-11 22:06:29 +00:00
scope6_var.h
udp6.h
udp6_output.c Under some circumstances, udp6_output() would call ip6_clearpktopts() 2010-07-15 23:46:55 +00:00
udp6_private.h
udp6_usrreq.c Replace a large number of link set based sysctl node creations with 2009-09-16 15:23:04 +00:00
udp6_var.h