[SCM] Samba Shared Repository - branch master updated - 641772b605520ed3914ee36d5a953c247c1082c7

Volker Lendecke vlendec at samba.org
Wed Dec 31 17:43:44 GMT 2008


The branch, master has been updated
       via  641772b605520ed3914ee36d5a953c247c1082c7 (commit)
      from  429276556a4930fa1bc782904447120950073190 (commit)

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


- Log -----------------------------------------------------------------
commit 641772b605520ed3914ee36d5a953c247c1082c7
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Dec 31 18:37:39 2008 +0100

    recvfile can't be used for printing so far

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

Summary of changes:
 source3/smbd/reply.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e2a7afe..8f9edfe 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3873,6 +3873,10 @@ bool is_valid_writeX_buffer(const uint8_t *inbuf)
 		DEBUG(10,("is_valid_writeX_buffer: IPC$ tid\n"));
 		return false;
 	}
+	if (IS_PRINT(conn)) {
+		DEBUG(10,("is_valid_writeX_buffer: printing tid\n"));
+		return false;
+	}
 	doff = SVAL(inbuf,smb_vwv11);
 
 	numtowrite = SVAL(inbuf,smb_vwv10);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list