From 9b686f4d6d16cc1a12300e4207962c47350883f9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 12 Mar 2011 10:49:27 +0100 Subject: [PATCH] s3: Fix bug 8009 Jeremy, please check! --- source3/libsmb/clirap2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c index a088397..20efca3 100644 --- a/source3/libsmb/clirap2.c +++ b/source3/libsmb/clirap2.c @@ -212,7 +212,7 @@ static size_t rap_getstringp(TALLOC_CTX *ctx, char *p, char **dest, char *r, uin } } pull_string_talloc(ctx,src,0,dest,src,len,STR_ASCII); - return len; + return 4; } static char *make_header(char *param, uint16 apinum, const char *reqfmt, const char *datafmt) -- 1.6.3.2