freebsd-dev/sbin/ipfw
Andrey V. Elsukov 51b1593065 Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode.
By default next_cmd() initializes only first u32 of opcode. O_ICMP6TYPE
opcode has array of bit masks to store corresponding ICMPv6 types.
An opcode that precedes O_ICMP6TYPE, e.g. O_IP6_DST, can have variable
length and during opcode filling it can modify memory that will be used
by O_ICMP6TYPE opcode. Without explicit initialization this leads to
creation of wrong opcode.

Reported by:	Boris N. Lytochkin
Obtained from:	Yandex LLC
MFC after:	3 days
2019-10-15 09:50:02 +00:00
..
altq.c Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
dummynet.c Revert r327005 - SPDX tags for license similar to BSD-2-Clause. 2017-12-20 20:25:28 +00:00
ipfw2.c ipfw: fix jail option after r348215 2019-08-05 00:08:25 +00:00
ipfw2.h Add "tcpmss" opcode to match the TCP MSS value. 2019-06-21 10:54:51 +00:00
ipfw.8 Add "tcpmss" opcode to match the TCP MSS value. 2019-06-21 10:54:51 +00:00
ipv6.c Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode. 2019-10-15 09:50:02 +00:00
main.c Add NAT64 CLAT implementation as defined in RFC6877. 2019-03-18 11:44:53 +00:00
Makefile Add NAT64 CLAT implementation as defined in RFC6877. 2019-03-18 11:44:53 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nat64clat.c Add NAT64 CLAT implementation as defined in RFC6877. 2019-03-18 11:44:53 +00:00
nat64lsn.c Remove extra spaces. 2019-03-19 11:16:42 +00:00
nat64stl.c Add SPDX-License-Identifier and update year in copyright. 2019-03-18 10:50:32 +00:00
nat.c Revert r327005 - SPDX tags for license similar to BSD-2-Clause. 2017-12-20 20:25:28 +00:00
nptv6.c Add ability to use dynamic external prefix in ipfw_nptv6 module. 2018-11-12 11:20:59 +00:00
tables.c Add missing and or-flush options to "ipfw table <NAME> create" 2019-05-24 11:06:24 +00:00