increase stack buffer size for res_query result
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:37 +0000 (20:54 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:37 +0000 (20:54 +0000)
from 0x2003 to 0x8000

Patch by Jeffrey Altman

From: Alexey Melnikov <alexey.melnikov@isode.com>

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25247 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/wshelper/res_quer.c

index ad36ec7458f4819ea5f4ab10b6d76fa365c029c2..7836ed9215595a5cec0e651bc0ae0591e1c67523 100644 (file)
@@ -56,7 +56,7 @@ static char sccsid[] = "@(#)res_query.c       5.11 (Berkeley) 3/6/91";
 #include <string.h>
 #include <windns.h>
 
-#define MAX_MSG_SIZE 0x2003
+#define MAX_MSG_SIZE 0x8000
 
 #define strcasecmp     stricmp