svn commit: samba r8457 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Thu Jul 14 08:51:49 GMT 2005


Author: jra
Date: 2005-07-14 08:51:48 +0000 (Thu, 14 Jul 2005)
New Revision: 8457

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8457

Log:
Fix from Marcel M?\195?\188ller <mueller at maazl.de> to ensure
we correctly set the return packet size to include
the pad bytes in reply_readbmpx().
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c	2005-07-14 08:50:57 UTC (rev 8456)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2005-07-14 08:51:48 UTC (rev 8457)
@@ -5308,7 +5308,7 @@
 		if (nread < (ssize_t)N)
 			tcount = total_read + nread;
 
-		set_message(outbuf,8,nread,False);
+		set_message(outbuf,8,nread+pad,False);
 		SIVAL(outbuf,smb_vwv0,startpos);
 		SSVAL(outbuf,smb_vwv2,tcount);
 		SSVAL(outbuf,smb_vwv6,nread);



More information about the samba-cvs mailing list