The Samba-Bugzilla – Attachment 6288 Details for
Bug 8009
net rap session cannot get username
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for 3.5.x.
0001-s3-Fix-bug-8009-net-rap-session-cannot-get-username.patch (text/plain), 970 bytes, created by
Jeremy Allison
on 2011-03-14 17:49:23 UTC
(
hide
)
Description:
Fix for 3.5.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-03-14 17:49:23 UTC
Size:
970 bytes
patch
obsolete
>From 5b008119c3b7b995bc401c589ff68ad3deb3721b Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 14 Mar 2011 10:35:23 -0700 >Subject: [PATCH] s3: Fix bug 8009 - net rap session cannot get username > >Looking in [MS-RAP].pdf - these strings are always 4 bytes as an >offset in the rparam area, the string length is the size in the rdata area. >Se we must always return we have consumed 4 param bytes. >--- > 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.7.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 8009
:
6285
|
6286
| 6288