]>
Commit | Line | Data |
---|---|---|
1d13e637 AF |
1 | commit 9c3a46e53ebfff376eefee88c2b8745e17bdc21b |
2 | Author: Günther Deschner <gd@samba.org> | |
3 | AuthorDate: Tue Feb 4 16:38:46 2014 +0100 | |
4 | Commit: Andreas Schneider <asn@samba.org> | |
5 | CommitDate: Mon Mar 10 17:18:14 2014 +0100 | |
6 | ||
7 | PATCHSET6 librpc/nbt: increase MAX_COMPONENTS limit for nbt_names. | |
8 | ||
9 | domains with more then 10 subdomains are not so uncommon. | |
10 | ||
11 | https://bugzilla.samba.org/show_bug.cgi?id=10439 | |
12 | ||
13 | Guenther | |
14 | ||
15 | Signed-off-by: Günther Deschner <gd@samba.org> | |
16 | Reviewed-by: Andreas Schneider <asn@samba.org> | |
17 | ||
18 | (cherry picked from commit 4e05bad0d18e351cb2a2db74860e77adea727c79) | |
19 | --- | |
20 | libcli/nbt/nbtname.c | 2 +- | |
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
22 | ||
23 | diff --git a/libcli/nbt/nbtname.c b/libcli/nbt/nbtname.c | |
24 | index fec8e8e..3aa0000 100644 | |
25 | --- a/libcli/nbt/nbtname.c | |
26 | +++ b/libcli/nbt/nbtname.c | |
27 | @@ -30,7 +30,7 @@ | |
28 | #include "lib/util/util_net.h" | |
29 | ||
30 | /* don't allow an unlimited number of name components */ | |
31 | -#define MAX_COMPONENTS 10 | |
32 | +#define MAX_COMPONENTS 128 | |
33 | ||
34 | /** | |
35 | print a nbt string |