The Samba-Bugzilla – Attachment 5310 Details for
Bug 7122
Reading a large browselist fails (server returns invalid values in subsequent SMBtrans replies)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am patch applies to 3.3.11 and 3.2.x
0001-Fix-off-by-one-error-in-working-out-the-limit-of-the.patch (text/plain), 880 bytes, created by
Jeremy Allison
on 2010-02-09 17:55:00 UTC
(
hide
)
Description:
git-am patch applies to 3.3.11 and 3.2.x
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-02-09 17:55:00 UTC
Size:
880 bytes
patch
obsolete
>From 9ad6f432f3f5844b4b419e7cbaf3c3e70b052d29 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 9 Feb 2010 12:17:08 -0800 >Subject: [PATCH] Fix off-by-one error in working out the limit of the NetServerEnum comment. > >Jeremy. >--- > source/libsmb/clirap.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c >index 7f6dbf5..990b806 100644 >--- a/source/libsmb/clirap.c >+++ b/source/libsmb/clirap.c >@@ -367,7 +367,7 @@ bool cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype, > comment_offset = (IVAL(p,22) & 0xFFFF)-converter; > cmnt = comment_offset?(rdata+comment_offset):""; > >- if (comment_offset < 0 || comment_offset > (int)rdrcnt) { >+ if (comment_offset < 0 || comment_offset >= (int)rdrcnt) { > TALLOC_FREE(frame); > continue; > } >-- >1.6.6 >
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:
metze
:
review+
Actions:
View
Attachments on
bug 7122
:
5304
|
5305
|
5306
|
5307
|
5308
|
5309
| 5310