git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f6bff
)
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:41:01 +0000
(18:41 +0100)
source/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source/smbd/reply.c
b/source/smbd/reply.c
index 248596d2c8693c369e0bad67c8cab30541ecf0b2..ec8dc7703fff6e40836a3374cec1beb9e4f5ccc7 100644
(file)
--- 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);