This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [PATCH] [PATCH] Increase size of sxpr parser input buffe

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] [PATCH] Increase size of sxpr parser input buffer
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Sun, 08 May 2005 08:37:12 +0000
Delivery-date: Sun, 08 May 2005 09:03:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.256.114, 2005/05/08 09:37:12+01:00, lists-xen@xxxxxxxx

        [PATCH] [PATCH] Increase size of sxpr parser input buffer
        Increase the size of the sxpr parser input buffer from 1024 characters, 
        isn't long enough to hold larger domain configurations (xfrd transmits 
        entire domain config sxpr as a single atom inside of another sxpr).
        Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>

 sxpr_parser.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/tools/libxutil/sxpr_parser.h b/tools/libxutil/sxpr_parser.h
--- a/tools/libxutil/sxpr_parser.h      2005-05-08 05:03:47 -04:00
+++ b/tools/libxutil/sxpr_parser.h      2005-05-08 05:03:47 -04:00
@@ -28,7 +28,7 @@
 /** Size of a parser input buffer.
  * Tokens read must fit into this size (including trailing null).
-#define PARSER_BUF_SIZE 1024
+#define PARSER_BUF_SIZE 4096
 struct Parser;
 typedef int ParserStateFn(struct Parser *, char c);

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>