diff options
| author | Thomas Haller <thaller@redhat.com> | 2014-06-13 15:47:29 +0200 |
|---|---|---|
| committer | Dan Williams <dcbw@redhat.com> | 2014-07-23 12:42:45 -0500 |
| commit | ac4fafe7a42a522c8b82b5d09802ab40ba504b7d (patch) | |
| tree | f659c89027e60abc75615c8010d6b1e4a0c31dcf /libnm-util | |
| parent | 7f771d0a05fd691b2965bc8ae91a6aa9a6453a53 (diff) | |
| download | NetworkManager-ac4fafe7a42a522c8b82b5d09802ab40ba504b7d.tar.gz | |
platform: assert against the maximum length of link_get_address()
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnm-util')
| -rw-r--r-- | libnm-util/nm-utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libnm-util/nm-utils.h b/libnm-util/nm-utils.h index 23944ad1aa..896b3e92a8 100644 --- a/libnm-util/nm-utils.h +++ b/libnm-util/nm-utils.h @@ -129,9 +129,8 @@ gboolean nm_utils_wifi_is_channel_valid (guint32 channel, const char *band); /** * NM_UTILS_HWADDR_LEN_MAX: * - * The maximum length of a hardware address of a type known by - * nm_utils_hwaddr_len() or nm_utils_hwaddr_aton(). This can be used - * as the size of the buffer passed to nm_utils_hwaddr_aton(). + * The maximum length of hardware addresses handled by NetworkManager itself, + * nm_utils_hwaddr_len(), and nm_utils_hwaddr_aton(). */ #define NM_UTILS_HWADDR_LEN_MAX 20 /* INFINIBAND_ALEN */ |
