diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-17 01:10:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-17 01:41:52 +0200 |
commit | 76f468c8ea568fce98fa75d7f1d540256eb0940a (patch) | |
tree | 1c7c751cfdd40d92c4932b3b5eda2cb5f1a12cc7 /src/resolve/resolved-dns-domain.h | |
parent | 0014a4ad505d119c7ac4346d9d774c3f17f663a5 (diff) |
dns-domain: enforce maximum DNS domain name length
Diffstat (limited to 'src/resolve/resolved-dns-domain.h')
-rw-r--r-- | src/resolve/resolved-dns-domain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-domain.h b/src/resolve/resolved-dns-domain.h index d6b4bdd083..809c4daacc 100644 --- a/src/resolve/resolved-dns-domain.h +++ b/src/resolve/resolved-dns-domain.h @@ -25,6 +25,7 @@ #include "in-addr-util.h" #define DNS_LABEL_MAX 63 +#define DNS_NAME_MAX 255 int dns_label_unescape(const char **name, char *dest, size_t sz); int dns_label_escape(const char *p, size_t l, char **ret); |