The Samba-Bugzilla – Attachment 6699 Details for
Bug 8305
nmbd segfaults - when using "smbtree ..."
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.0
0001-Fix-bug-8305-nmbd-segfaults-when-using-smbtree.patch (text/plain), 979 bytes, created by
Jeremy Allison
on 2011-07-13 13:15:10 UTC
(
hide
)
Description:
git-am fix for 3.6.0
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-07-13 13:15:10 UTC
Size:
979 bytes
patch
obsolete
>From ff34fb787c2e06b2900ca2a406682f924338bee1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnter=20Kukkukk?= <linux@kukkukk.com> >Date: Wed, 13 Jul 2011 06:10:13 -0700 >Subject: [PATCH] Fix bug 8305 - nmbd segfaults - when using "smbtree ..." > (cherry picked from commit 102a931c8081559423fb25b3a4d445b6f2e790ac) > >--- > source3/libsmb/unexpected.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c >index 1b1d8cb..96bb1bf 100644 >--- a/source3/libsmb/unexpected.c >+++ b/source3/libsmb/unexpected.c >@@ -221,7 +221,7 @@ static void nb_packet_got_query(struct tevent_req *req) > > nread = read_packet_recv(req, talloc_tos(), &buf, &err); > TALLOC_FREE(req); >- if (nread < sizeof(struct nb_packet_query)) { >+ if (nread < (ssize_t)sizeof(struct nb_packet_query)) { > DEBUG(10, ("read_packet_recv returned %d (%s)\n", > (int)nread, > (nread == -1) ? strerror(err) : "wrong length")); >-- >1.7.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 8305
: 6699