mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 02:20:14 +01:00
How hard can it be to use strtol()? Apparently very. You need to check errno, the endpointer, and also not pass in an empty string. Previously, nmc_string_to_uint_base() would silently accept "" as valid number. That's a bug. Btw, let's not use strtol() (or nmc_string_to_uint*()). We have _nm_utils_ascii_str_to_int64(), which gets all of this right. |
||
|---|---|---|
| .. | ||
| tests | ||
| meson.build | ||
| nm-client-utils.c | ||
| nm-client-utils.h | ||
| nm-meta-setting-access.c | ||
| nm-meta-setting-access.h | ||
| nm-meta-setting-desc.c | ||
| nm-meta-setting-desc.h | ||
| nm-polkit-listener.c | ||
| nm-polkit-listener.h | ||
| nm-secret-agent-simple.c | ||
| nm-secret-agent-simple.h | ||
| nm-vpn-helpers.c | ||
| nm-vpn-helpers.h | ||
| settings-docs.h.in | ||
| settings-docs.xsl | ||