summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-31 18:37:39 +0100
committerVolker Lendecke <vl@samba.org>2008-12-31 18:43:11 +0100
commit641772b605520ed3914ee36d5a953c247c1082c7 (patch)
tree95f38b4d6969106f67decc6288742f10c58cdf67 /source3
parent429276556a4930fa1bc782904447120950073190 (diff)
downloadsamba-641772b605520ed3914ee36d5a953c247c1082c7.tar.gz
samba-641772b605520ed3914ee36d5a953c247c1082c7.tar.bz2
samba-641772b605520ed3914ee36d5a953c247c1082c7.zip
recvfile can't be used for printing so far
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e2a7afe897..8f9edfe0ca 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);