aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
blob: a8d601dcaa7f8ef2541ccd6dc249f1471908963c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Upstream-Status: Pending

Subject: gen.c: extend DIRNAMESIZE from 256 to 512

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 lib/dns/gen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: bind-9.11.3/lib/dns/gen.c
===================================================================
--- bind-9.11.3.orig/lib/dns/gen.c
+++ bind-9.11.3/lib/dns/gen.c
@@ -130,7 +130,7 @@ static const char copyright[] =
 #define TYPECLASSBUF (TYPECLASSLEN + 1)
 #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
 #define ATTRIBUTESIZE 256
-#define DIRNAMESIZE 256
+#define DIRNAMESIZE 512
 
 static struct cc {
 	struct cc *next;