[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3312-gce0a797

Volker Lendecke vlendec at samba.org
Wed Dec 31 17:41:54 GMT 2008


The branch, v3-2-test has been updated
       via  ce0a7974c5e5032893fa80fbc710edfc29353413 (commit)
      from  f9f6bffc3763ddd8e19400616b6e5da962142e5e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit ce0a7974c5e5032893fa80fbc710edfc29353413
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:
 source/smbd/reply.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 248596d..ec8dc77 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -3893,6 +3893,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