NetworkManager/src
Thomas Haller c91dfb850e
initrd: avoid cloning string in reader_parse_rd_znet()
The code did:

   key    = g_strndup(tmp, val - tmp);
   val[0] = '\0';

That is pointless. If we strndup the key, we don't need to truncate
the string at the '='. It might be nicer not to mutate the input string,
however, the entire code with "argument" parsing is about mutating the
input string, so that is something we apparently are fine with.

As such, don't clone the string anymore.
2021-03-16 11:58:09 +01:00
..
c-list build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-rbtree build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-siphash build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-stdaux build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
contrib build/meson: cleanup tests 2021-02-28 18:56:08 +01:00
core all: split "range" variant of nm_utils_ptrarray_find_binary_search() 2021-03-16 09:55:49 +01:00
libnm-base config: add "nm-base/nm-config-base.h" 2021-03-15 17:10:52 +01:00
libnm-client-aux-extern build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnm-client-impl all: split "range" variant of nm_utils_ptrarray_find_binary_search() 2021-03-16 09:55:49 +01:00
libnm-client-public libnm/doc: document the type of each LLDP attribute of libnm 2021-03-15 17:40:14 +01:00
libnm-client-test build/meson: cleanup dependencies for libnm-core-aux-intern 2021-02-28 10:42:05 +01:00
libnm-core-aux-extern build/meson: cleanup dependencies for libnm-core-aux-extern 2021-02-28 10:42:06 +01:00
libnm-core-aux-intern glib-aux: move nm_utils_route_type{2str,_by_name}() to libnm-glib-aux 2021-03-05 11:09:15 +01:00
libnm-core-impl libnm: verify ethernet.s390-options.bridge_role value 2021-03-16 11:56:31 +01:00
libnm-core-intern libnm: verify ethernet.s390-options.bridge_role value 2021-03-16 11:56:31 +01:00
libnm-core-public libnm: fix exporting nm_setting_match_new() symbol 2021-03-11 19:00:34 +01:00
libnm-glib-aux shared/tests: add nmtst_rand_select_str() helper 2021-03-16 11:56:29 +01:00
libnm-log-core platform: make global logging cache for NMPlatform's sysctl values thread-safe 2021-03-08 22:29:01 +01:00
libnm-log-null build: remove shared/ directory 2021-02-24 12:49:13 +01:00
libnm-platform platform: make global logging cache for NMPlatform's sysctl values thread-safe 2021-03-08 22:29:01 +01:00
libnm-std-aux build: remove "shared/" from include search path 2021-02-24 12:49:06 +01:00
libnm-systemd-shared build/meson: cleanup dependencies for libnm-systemd-shared 2021-02-28 10:42:04 +01:00
libnm-udev-aux build/meson: cleanup dependencies for libnm-udev-aux 2021-02-28 10:42:04 +01:00
libnmc-base build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnmc-setting build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnmt-newt build: move "clients/tui/newt/" to "src/libnmt-newt/" 2021-03-02 08:38:26 +01:00
linux-headers platform: move "linux/nl802154.h" to "src/linux-headers/" 2021-03-05 11:27:15 +01:00
n-acd build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
n-dhcp4 build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
nm-cloud-setup cloud-setup: move from "clients/cloud-setup/" to "src/nm-cloud-setup/" 2021-03-15 17:10:53 +01:00
nm-dispatcher build/meson: fix test name for "test-dispatcher-envp" 2021-03-15 17:10:52 +01:00
nm-initrd-generator initrd: avoid cloning string in reader_parse_rd_znet() 2021-03-16 11:58:09 +01:00
nm-online build: move "clients/nm-online.c" to "src/nm-online/" 2021-03-02 08:38:26 +01:00
nmcli cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
nmtui tui: move from "clients/tui/" to "src/nmtui/" 2021-03-15 17:10:54 +01:00
tests/client tests/client: run "test-client.py" also for meson 2021-03-15 17:10:56 +01:00
meson.build tests/client: run "test-client.py" also for meson 2021-03-15 17:10:56 +01:00