git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4292765
)
recvfile can't be used for printing so far
author
Volker Lendecke
<vl@samba.org>
Wed, 31 Dec 2008 17:37:39 +0000
(18:37 +0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 31 Dec 2008 17:43:11 +0000
(18:43 +0100)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index e2a7afe89766f95e65ff7ffa8a41e6789cd7fa15..8f9edfe0ca3e3eaeb595102dadec0f6b76347043 100644
(file)
--- 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);