1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/src/libsystemd-network
Yu Watanabe ad3c84204c sd-dhcp6-client: fix buffer size calculation in dhcp6_option_parse_ip6addrs()
GREEDY_REALLOC() takes number of elements, not buffer size.

This also rename dhcp6_option_parse_ip6addrs() to
dhcp6_option_parse_addresses().
2021-09-29 15:29:40 +09:00
..
arp-util.c arp-util: split out logic of setting BPF code into a function 2021-07-01 00:49:02 +09:00
arp-util.h arp-util: split out logic of setting BPF code into a function 2021-07-01 00:49:02 +09:00
dhcp6-internal.h sd-dhcp6-client: fix buffer size calculation in dhcp6_option_parse_ip6addrs() 2021-09-29 15:29:40 +09:00
dhcp6-lease-internal.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
dhcp6-network.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp6-option.c sd-dhcp6-client: fix buffer size calculation in dhcp6_option_parse_ip6addrs() 2021-09-29 15:29:40 +09:00
dhcp6-protocol.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-client-internal.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-identifier.c sd-dhcp: refuse to set iaid if we cannot find the interface 2021-06-12 03:19:08 +09:00
dhcp-identifier.h dhcp: do not use ifindex when generating iaid in tests 2021-06-12 03:19:08 +09:00
dhcp-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
dhcp-lease-internal.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
dhcp-network.c dhcp: Implemented BindToInterface= configuration option 2021-04-14 07:30:40 +09:00
dhcp-option.c rfc3046 implementation 2021-05-08 15:59:29 +09:00
dhcp-packet.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-protocol.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-server-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
fuzz-dhcp6-client.c dhcp: do not use ifindex when generating iaid in tests 2021-06-12 03:19:08 +09:00
fuzz-dhcp6-client.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
fuzz-dhcp-server.c sd-dhcp-server: support static lease outside of address pool 2021-08-11 16:43:26 +09:00
fuzz-dhcp-server.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
fuzz-lldp-rx.c sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
fuzz-lldp-rx.options test: also rename {test,fuzz}-lldp.c 2021-09-27 23:55:11 +09:00
fuzz-ndisc-rs.c tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
fuzz-ndisc-rs.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
icmp6-util.c journal,network,timesync: fix segfault on 32bit timeval/timespec systems 2021-09-16 11:47:44 +02:00
icmp6-util.h tree-wide: use in_addr_is_set() or friends 2021-02-18 03:48:07 +09:00
lldp-neighbor.c sd-lldp-rx: make lldp_rx_free() and lldp_neighbor_free() accept NULL 2021-09-28 17:55:19 +09:00
lldp-neighbor.h sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
lldp-network.c sd-lldp-rx: add comments about the three multicast addresses 2021-09-28 15:07:13 +09:00
lldp-network.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
lldp-rx-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
meson.build sd-lldp-tx: introduce sd-lldp-tx 2021-09-28 01:35:47 +09:00
ndisc-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
ndisc-router.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
ndisc-router.h libsystemd-network: make log_dhcp_client() or friends include interface name 2021-03-04 05:51:28 +09:00
network-common.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
network-common.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
network-internal.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
network-internal.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
radv-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-dhcp6-client.c sd-dhcp6-client: modernize dhcp6_option_parse_ia() 2021-09-29 15:29:40 +09:00
sd-dhcp6-lease.c sd-dhcp6-client: fix buffer size calculation in dhcp6_option_parse_ip6addrs() 2021-09-29 15:29:40 +09:00
sd-dhcp-client.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-dhcp-lease.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
sd-dhcp-server.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-ipv4acd.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-ipv4ll.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-lldp-rx.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-lldp-tx.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-ndisc.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-radv.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
test-acd.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-dhcp6-client.c sd-dhcp6-client: modernize dhcp6_option_parse_ia() 2021-09-29 15:29:40 +09:00
test-dhcp-client.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-dhcp-option.c rfc3046 implementation 2021-05-08 15:59:29 +09:00
test-dhcp-server.c sd-dhcp-server: make sd_dhcp_server_start() no-op if it is already running 2021-06-08 06:33:27 +09:00
test-ipv4ll-manual.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-ipv4ll.c arp-util: split out logic of setting BPF code into a function 2021-07-01 00:49:02 +09:00
test-lldp-rx.c sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
test-ndisc-ra.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-ndisc-rs.c tree-wide: add FORMAT_TIMESPAN() 2021-07-09 11:03:36 +02:00
test-sd-dhcp-lease.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00