• Thomas Haller's avatar
    all: don't use static buffer for nm_utils_inet*_ntop() · a51c09dc
    Thomas Haller authored
    While nm_utils_inet*_ntop() accepts a %NULL buffer to fallback
    to a static buffer, don't do that.
    
    I find the possibility of using a static buffer here error prone
    and something that should be avoided. There is of course the downside,
    that in some cases it requires an additional line of code to allocate
    the buffer on the stack as auto-variable.
    a51c09dc
Name
Last commit
Last update
..
devices Loading commit data...
dhcp Loading commit data...
dns Loading commit data...
dnsmasq Loading commit data...
initrd Loading commit data...
ndisc Loading commit data...
platform Loading commit data...
ppp Loading commit data...
settings Loading commit data...
supplicant Loading commit data...
systemd Loading commit data...
tests Loading commit data...
vpn Loading commit data...
NetworkManagerUtils.c Loading commit data...
NetworkManagerUtils.h Loading commit data...
main-utils.c Loading commit data...
main-utils.h Loading commit data...
main.c Loading commit data...
meson.build Loading commit data...
nm-act-request.c Loading commit data...
nm-act-request.h Loading commit data...
nm-active-connection.c Loading commit data...
nm-active-connection.h Loading commit data...
nm-audit-manager.c Loading commit data...
nm-audit-manager.h Loading commit data...
nm-auth-manager.c Loading commit data...
nm-auth-manager.h Loading commit data...
nm-auth-subject.c Loading commit data...
nm-auth-subject.h Loading commit data...
nm-auth-utils.c Loading commit data...
nm-auth-utils.h Loading commit data...
nm-checkpoint-manager.c Loading commit data...
nm-checkpoint-manager.h Loading commit data...
nm-checkpoint.c Loading commit data...
nm-checkpoint.h Loading commit data...
nm-config-data.c Loading commit data...
nm-config-data.h Loading commit data...
nm-config.c Loading commit data...
nm-config.h Loading commit data...
nm-connectivity.c Loading commit data...
nm-connectivity.h Loading commit data...
nm-core-utils.c Loading commit data...
nm-core-utils.h Loading commit data...
nm-dbus-manager.c Loading commit data...
nm-dbus-manager.h Loading commit data...
nm-dbus-object.c Loading commit data...
nm-dbus-object.h Loading commit data...
nm-dbus-utils.c Loading commit data...
nm-dbus-utils.h Loading commit data...
nm-dcb.c Loading commit data...
nm-dcb.h Loading commit data...
nm-dhcp4-config.c Loading commit data...
nm-dhcp4-config.h Loading commit data...
nm-dhcp6-config.c Loading commit data...
nm-dhcp6-config.h Loading commit data...
nm-dispatcher.c Loading commit data...
nm-dispatcher.h Loading commit data...
nm-firewall-manager.c Loading commit data...
nm-firewall-manager.h Loading commit data...
nm-hostname-manager.c Loading commit data...
nm-hostname-manager.h Loading commit data...
nm-iface-helper.c Loading commit data...
nm-ip4-config.c Loading commit data...
nm-ip4-config.h Loading commit data...
nm-ip6-config.c Loading commit data...
nm-ip6-config.h Loading commit data...
nm-keep-alive.c Loading commit data...
nm-keep-alive.h Loading commit data...
nm-logging.c Loading commit data...
nm-logging.h Loading commit data...
nm-manager.c Loading commit data...
nm-manager.h Loading commit data...
nm-netns.c Loading commit data...
nm-netns.h Loading commit data...
nm-pacrunner-manager.c Loading commit data...
nm-pacrunner-manager.h Loading commit data...
nm-policy.c Loading commit data...
nm-policy.h Loading commit data...
nm-proxy-config.c Loading commit data...
nm-proxy-config.h Loading commit data...
nm-rfkill-manager.c Loading commit data...
nm-rfkill-manager.h Loading commit data...
nm-session-monitor.c Loading commit data...
nm-session-monitor.h Loading commit data...
nm-sleep-monitor.c Loading commit data...
nm-sleep-monitor.h Loading commit data...
nm-test-utils-core.h Loading commit data...
nm-types.h Loading commit data...
org.freedesktop.NetworkManager.conf Loading commit data...