[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Jul 13 08:36:02 MDT 2011


The branch, master has been updated
       via  9b3357c Fix bug 8305 - nmbd segfaults - when using "smbtree ..."
      from  5e0ff95 s3-epmapper: Fix adding tcpip endpoints.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9b3357c54e66eef62cd7bbb5d4c9acd3cacd9fcd
Author: Günter Kukkukk <linux at kukkukk.com>
Date:   Wed Jul 13 06:10:13 2011 -0700

    Fix bug 8305 - nmbd segfaults - when using "smbtree ..."
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Wed Jul 13 16:35:16 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/unexpected.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index cf9ed7d..483d325 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"));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list