diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 4 |
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); |