summaryrefslogtreecommitdiffstats
path: root/librpc/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2014-02-04 16:38:46 +0100
committerGünther Deschner <gd@samba.org>2014-02-13 16:30:49 +0100
commit4e05bad0d18e351cb2a2db74860e77adea727c79 (patch)
treeb0eb5fd3f198c529d9d44e05954af63a2d24bb22 /librpc/ndr
parenta47f5845dd27de8ef198798b66878fbc48c5bef6 (diff)
downloadsamba-4e05bad0d18e351cb2a2db74860e77adea727c79.tar.gz
samba-4e05bad0d18e351cb2a2db74860e77adea727c79.tar.xz
samba-4e05bad0d18e351cb2a2db74860e77adea727c79.zip
librpc/nbt: increase MAX_COMPONENTS limit for nbt_names.
domains with more then 10 subdomains are not so uncommon. https://bugzilla.samba.org/show_bug.cgi?id=10439 Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Feb 13 16:30:50 CET 2014 on sn-devel-104
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_nbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr_nbt.c b/librpc/ndr/ndr_nbt.c
index f2a1ca3ba5f..842e9720c32 100644
--- a/librpc/ndr/ndr_nbt.c
+++ b/librpc/ndr/ndr_nbt.c
@@ -27,7 +27,7 @@
#include "../libcli/netlogon/netlogon.h"
/* don't allow an unlimited number of name components */
-#define MAX_COMPONENTS 10
+#define MAX_COMPONENTS 128
/**
print a nbt string