mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-19 16:11:32 +00:00
afb0e2c53c
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. |
||
---|---|---|
.. | ||
tests | ||
COPYING | ||
crypto.c | ||
crypto.h | ||
crypto_gnutls.c | ||
crypto_nss.c | ||
libnm-util.pc.in | ||
libnm-util.ver | ||
Makefile.am | ||
NetworkManager.h | ||
NetworkManagerVPN.h | ||
nm-connection.c | ||
nm-connection.h | ||
nm-param-spec-specialized.c | ||
nm-param-spec-specialized.h | ||
nm-setting-8021x.c | ||
nm-setting-8021x.h | ||
nm-setting-adsl.c | ||
nm-setting-adsl.h | ||
nm-setting-bluetooth.c | ||
nm-setting-bluetooth.h | ||
nm-setting-bond.c | ||
nm-setting-bond.h | ||
nm-setting-bridge-port.c | ||
nm-setting-bridge-port.h | ||
nm-setting-bridge.c | ||
nm-setting-bridge.h | ||
nm-setting-cdma.c | ||
nm-setting-cdma.h | ||
nm-setting-connection.c | ||
nm-setting-connection.h | ||
nm-setting-dcb.c | ||
nm-setting-dcb.h | ||
nm-setting-generic.c | ||
nm-setting-generic.h | ||
nm-setting-gsm.c | ||
nm-setting-gsm.h | ||
nm-setting-infiniband.c | ||
nm-setting-infiniband.h | ||
nm-setting-ip4-config.c | ||
nm-setting-ip4-config.h | ||
nm-setting-ip6-config.c | ||
nm-setting-ip6-config.h | ||
nm-setting-olpc-mesh.c | ||
nm-setting-olpc-mesh.h | ||
nm-setting-ppp.c | ||
nm-setting-ppp.h | ||
nm-setting-pppoe.c | ||
nm-setting-pppoe.h | ||
nm-setting-private.h | ||
nm-setting-serial.c | ||
nm-setting-serial.h | ||
nm-setting-team-port.c | ||
nm-setting-team-port.h | ||
nm-setting-team.c | ||
nm-setting-team.h | ||
nm-setting-template.c | ||
nm-setting-template.h | ||
nm-setting-vlan.c | ||
nm-setting-vlan.h | ||
nm-setting-vpn.c | ||
nm-setting-vpn.h | ||
nm-setting-wimax.c | ||
nm-setting-wimax.h | ||
nm-setting-wired.c | ||
nm-setting-wired.h | ||
nm-setting-wireless-security.c | ||
nm-setting-wireless-security.h | ||
nm-setting-wireless.c | ||
nm-setting-wireless.h | ||
nm-setting.c | ||
nm-setting.h | ||
nm-utils-private.h | ||
nm-utils.c | ||
nm-utils.h | ||
nm-value-transforms.c | ||
nm-version.h.in |