iproute2/lib
Denis Kirjanov 225f74761b lib: names: check calloc return value in db_names_alloc
db_names_load() may crash since it touches the
hash member. Fix it by checking the return value

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2024-11-17 10:11:58 -08:00
..
ax25_ntop.c lib: fix ax25.h include for musl 2022-01-15 10:41:13 -08:00
bpf_glue.c bpf_glue: include errno.h 2022-07-25 12:07:16 -07:00
bpf_legacy.c bpf: fix warning from basename() 2024-01-27 13:59:49 -08:00
bpf_libbpf.c bpf: increase verifier verbosity when in verbose mode 2023-10-27 16:56:55 +00:00
cg_map.c lib: replace GPL boilerplate with SPDX 2023-01-14 09:00:34 -08:00
color.c color: handle case where fmt is NULL 2024-01-22 20:26:08 -08:00
coverity_model.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
exec.c ip: Exit exec in child process if setup fails 2024-04-25 12:00:25 -07:00
fs.c treewide: fix indentation 2023-06-05 12:49:34 -06:00
inet_proto.c lib: replace GPL boilerplate with SPDX 2023-01-14 09:00:34 -08:00
json_print_math.c build: Fix link errors on some systems 2021-01-18 12:28:47 -08:00
json_print.c spelling fixes 2024-01-25 16:49:10 -08:00
json_writer.c json: do not escape single quotes 2022-11-03 11:30:20 -07:00
libgenl.c libgenl: make genl_add_mcast_grp set errno on error 2021-05-17 11:59:37 -07:00
libnetlink.c netlink: display information from missing type extack 2024-02-18 17:41:56 +00:00
ll_addr.c lib: replace GPL boilerplate with SPDX 2023-01-14 09:00:34 -08:00
ll_map.c lib: replace GPL boilerplate with SPDX 2023-01-14 09:00:34 -08:00
ll_proto.c f_flower: add cfm support 2023-06-23 16:46:29 -07:00
ll_types.c treewide: fix indentation 2023-06-05 12:49:34 -06:00
Makefile lib: add SELinux include and stub functions 2023-08-24 17:34:31 -07:00
mnl_utils.c mnl: initialize generic netlink version 2024-04-15 09:13:21 -07:00
mpls_ntop.c whitespace cleanups 2023-06-05 18:45:45 -07:00
mpls_pton.c whitespace cleanups 2023-06-05 18:45:45 -07:00
names.c lib: names: check calloc return value in db_names_alloc 2024-11-17 10:11:58 -08:00
namespace.c ip: Move of set_netnsid_from_name() to namespace.c 2024-10-17 12:08:08 -07:00
netrom_ntop.c NETROM: Add netrom_ntop implementation. 2021-09-23 20:02:37 -06:00
ppp_proto.c lib: Introduce ppp protocols 2022-07-29 11:22:42 -06:00
rose_ntop.c ROSE: Add rose_ntop implementation. 2021-09-23 20:02:45 -06:00
rt_names.c rt_names: whitespace cleanup 2024-03-11 09:18:44 -07:00
selinux.c ip vrf: make ipvrf_exec SELinux-aware 2023-08-24 17:34:40 -07:00
utils_math.c build: Fix link errors on some systems 2021-01-18 12:28:47 -08:00
utils.c lib: utils: close file handle on error 2024-11-17 10:11:52 -08:00