NetworkManager/src/dhcp
Beniamino Galvani cfc418f887 dhcp: nettools: check return value of g_file_set_contents()
Found by covscan:

 NetworkManager-1.22.0/src/dhcp/nm-dhcp-nettools.c:945: check_return:
 Calling "g_file_set_contents" without checking return value (as is
 done elsewhere 16 out of 20 times).

Fixes: 9f89516928 ('dhcp: nettools: read/write lease files')
2019-12-18 10:02:48 +01:00
..
tests dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
meson.build meson: Rename the compiler flags variable 2019-10-01 09:49:33 +02:00
nm-dhcp-client-logging.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-dhcp-client.c dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-client.h dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-dhclient-utils.c dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-dhclient-utils.h dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-dhclient.c dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-dhcpcanon.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-dhcp-dhcpcd.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-dhcp-helper-api.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-dhcp-helper.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-dhcp-listener.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-dhcp-listener.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-dhcp-manager.c dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-manager.h dhcp: support FQDN flags in the dhclient backend 2019-11-28 17:56:35 +01:00
nm-dhcp-nettools.c dhcp: nettools: check return value of g_file_set_contents() 2019-12-18 10:02:48 +01:00
nm-dhcp-options.c systemd: add siaddr to lease options 2019-11-18 13:33:03 +01:00
nm-dhcp-options.h systemd: add siaddr to lease options 2019-11-18 13:33:03 +01:00
nm-dhcp-systemd.c all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-dhcp-utils.c all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-dhcp-utils.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00