Systemd/src/network
Filipe Brandenburger d23c3e4c28 lldp: check that lldp neighbor raw data size is in expected range
This fixes an insecure use of tainted data as argument to functions that
allocate memory and read from files, which could be tricked into getting
networkctl to allocate a large amount of memory and fill it with file
data.

This was uncovered by Coverity. Fixes CID 1393254.
2018-06-08 08:54:25 +02:00
..
netdev Merge pull request #9200 from poettering/device-state-fix 2018-06-07 17:04:57 +02:00
wait-online tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
meson.build networkd: introduce netdev "Netdevsim" Driver 2018-06-03 08:16:11 +05:30
networkctl.c lldp: check that lldp neighbor raw data size is in expected range 2018-06-08 08:54:25 +02:00
networkd-address-label.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-address-label.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-address-pool.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-address-pool.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-address.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-address.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-brvlan.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-brvlan.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-conf.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-conf.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-dhcp4.c basic/log: add the log_struct terminator to macro 2018-06-04 13:46:03 +02:00
networkd-dhcp6.c network: make route_update() accept NULL 2018-05-11 15:43:04 +09:00
networkd-fdb.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-fdb.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-gperf.gperf tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
networkd-ipv4ll.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-ipv6-proxy-ndp.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-ipv6-proxy-ndp.h tree-wide: remove some double newlines in headers, too 2018-05-22 16:13:45 +02:00
networkd-link-bus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-link.c basic/log: add the log_struct terminator to macro 2018-06-04 13:46:03 +02:00
networkd-link.h networkd,udev: clean up MTU handling 2018-04-26 13:51:44 +02:00
networkd-lldp-tx.c fileio: accept FILE* in addition to path in parse_env_file() 2018-05-24 17:01:57 +02:00
networkd-lldp-tx.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-manager-bus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-manager.c network: set DynamicUser= to systemd-networkd.service 2018-05-22 22:37:34 +09:00
networkd-manager.h tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-ndisc.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-ndisc.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-network-bus.c network,udev: make MACAddress= in [Match] section take multiple MAC addresses 2018-05-09 11:59:18 +09:00
networkd-network-gperf.gperf networkd: enable to set IFF_ALLMULTI to network device (#9146) 2018-06-01 16:22:12 +02:00
networkd-network.c networkd: enable to set IFF_ALLMULTI to network device (#9146) 2018-06-01 16:22:12 +02:00
networkd-network.h networkd: enable to set IFF_ALLMULTI to network device (#9146) 2018-06-01 16:22:12 +02:00
networkd-radv.c networkd: add missing _cleanup_ in prefix_new 2018-06-08 00:48:41 +02:00
networkd-radv.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-route.c network: avoid temporary variables for parsing, use TAKE_PTR (#9166) 2018-06-03 11:18:23 +09:00
networkd-route.h networkd: Support the ability to set MTU in [Route] sections 2018-05-24 16:42:40 +02:00
networkd-routing-policy-rule.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
networkd-routing-policy-rule.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
networkd-util.h tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro 2018-05-22 13:18:44 +02:00
networkd.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
org.freedesktop.network1.conf networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
org.freedesktop.network1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
systemd-networkd.pkla networkd: allow networkd to set the timezone in timedated 2016-11-23 16:32:06 +01:00
systemd-networkd.rules networkd: allow networkd to set the timezone in timedated 2016-11-23 16:32:06 +01:00
test-network-tables.c test-tables,test-network-tables: add a few more tests 2018-05-28 10:40:00 +02:00
test-network.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
test-networkd-conf.c test: add tests for config_parse_hwaddrs() 2018-05-09 11:57:36 +09:00
test-routing-policy-rule.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00