NetworkManager/libnm-core
Jiří Klimeš 85b24e4eed libnm-core: mute coverity for RESOURCE_LEAK (CWE-772) in g_return_val_if_fail()
Error: RESOURCE_LEAK (CWE-772): [#def10]
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:225: alloc_fn: Storage is returned from allocation function "priority_map_new_from_str".
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:154:4: alloc_fn: Storage is returned from allocation function "g_malloc0".
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:154:4: var_assign: Assigning: "p" = "g_malloc0(8UL)".
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:164:2: return_alloc: Returning allocated memory "p".
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:225: var_assign: Assigning: "item" = storage returned from "priority_map_new_from_str(map, str)".
NetworkManager-0.9.11.0/libnm-core/nm-setting-vlan.c:226: leaked_storage: Variable "item" going out of scope leaks the storage it points to.

Error: RESOURCE_LEAK (CWE-772): [#def11]
NetworkManager-0.9.11.0/libnm-core/nm-utils.c:2056: alloc_fn: Storage is returned from allocation function "crypto_make_des_aes_key".
NetworkManager-0.9.11.0/libnm-core/crypto.c:405:2: alloc_fn: Storage is returned from allocation function "g_malloc0".
NetworkManager-0.9.11.0/libnm-core/crypto.c:405:2: var_assign: Assigning: "key" = "g_malloc0(digest_len + 1U)".
NetworkManager-0.9.11.0/libnm-core/crypto.c:407:2: noescape: Resource "key" is not freed or pointed-to in function "crypto_md5_hash".
NetworkManager-0.9.11.0/libnm-core/crypto.c:769:24: noescape: "crypto_md5_hash(char const *, gssize, char const *, gssize, char *, gsize)" does not free or save its pointer parameter "buffer".
NetworkManager-0.9.11.0/libnm-core/crypto.c:415:2: return_alloc: Returning allocated memory "key".
NetworkManager-0.9.11.0/libnm-core/nm-utils.c:2056: var_assign: Assigning: "key" = storage returned from "crypto_make_des_aes_key("DES-EDE3-CBC", &salt[0], salt_len, in_password, &key_len, NULL)".
NetworkManager-0.9.11.0/libnm-core/nm-utils.c:2057: leaked_storage: Variable "key" going out of scope leaks the storage it points to.

(cherry picked from commit afb0e2c53c)
2014-12-16 21:47:01 +01:00
..
tests libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
crypto.c libnm/crypto: fix uninitialized variable in crypto_md5_hash() 2014-12-04 16:24:05 +01:00
crypto.h libnm-core: relax restrictions on input arguments for crypto_md5_hash() 2014-12-04 08:39:54 -05:00
crypto_gnutls.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
crypto_nss.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
Makefile.am libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
Makefile.libnm-core libnm-core, all: merge IPv4 and IPv6 address/route types 2014-11-07 07:49:40 -05:00
nm-connection-private.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-connection.c libnm: normalize missing connection UUID 2014-12-04 17:02:22 +01:00
nm-connection.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-core-internal.h libnm: hide nm_utils_uuid_generate_from_string() from public API 2014-12-04 17:02:22 +01:00
nm-core-types.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-dbus-interface.h agent-manager: don't ever fail the secrets requests from GetSecrets() 2014-12-11 11:15:53 +01:00
nm-errors.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-property-compare.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-property-compare.h libnm-core: change connection hash tables to variants in API 2014-09-18 11:51:09 -04:00
nm-setting-8021x.c libnm-core: do not access array if it is NULL 2014-12-05 09:38:40 +01:00
nm-setting-8021x.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-setting-adsl.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-adsl.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bluetooth.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bluetooth.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bond.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-bond.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bridge-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-bridge.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-cdma.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-cdma.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-connection.c libnm: normalize missing connection UUID 2014-12-04 17:02:22 +01:00
nm-setting-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-dcb.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-dcb.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-generic.c libnm-core: merge NMSetting*Error into NMConnectionError 2014-10-22 08:29:07 -04:00
nm-setting-generic.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-gsm.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-gsm.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-infiniband.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-infiniband.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ip-config.c libnm: allow zero prefix length for NMIPRoute 2014-11-24 18:02:46 +01:00
nm-setting-ip-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-ip4-config.c libnm-core: update documentation of addresses and gateway properties 2014-11-19 09:24:10 -05:00
nm-setting-ip4-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-ip6-config.c libnm-core: update ip6-privacy ifcfg-rh description 2014-11-19 09:24:10 -05:00
nm-setting-ip6-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-olpc-mesh.c libnm-core: make GBytes D-Bus marshalling be built-in to NMSetting 2014-11-19 09:24:10 -05:00
nm-setting-olpc-mesh.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ppp.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ppp.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-pppoe.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-pppoe.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-private.h libnm-core: change how new and legacy properties are serialized 2014-11-15 09:52:29 -05:00
nm-setting-serial.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-serial.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-team-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-team.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vlan.c libnm-core: mute coverity for RESOURCE_LEAK (CWE-772) in g_return_val_if_fail() 2014-12-16 21:47:01 +01:00
nm-setting-vlan.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vpn.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-vpn.h libnm/libnm-util: add VPN 'persistent' property 2014-11-06 21:16:57 -06:00
nm-setting-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wimax.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wired.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-wired.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless-security.c man, docs: add the secret flags notes non-hackishly 2014-11-19 09:24:10 -05:00
nm-setting-wireless-security.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless.c libnm-core: update BAND and CHANNEL ifcfg-rh description 2014-11-19 09:24:10 -05:00
nm-setting-wireless.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting.c libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05:00
nm-setting.h libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05:00
nm-simple-connection.c libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
nm-simple-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-utils-private.h ifcfg-rh: don't include nm-utils-private.h outside of libnm-core/ 2014-12-03 17:36:08 +01:00
nm-utils.c libnm-core: mute coverity for RESOURCE_LEAK (CWE-772) in g_return_val_if_fail() 2014-12-16 21:47:01 +01:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-version.h.in libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00