git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2e20f
)
make sure we send a reply packet for bad create options
author
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 01:47:39 +0000
(11:47 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 01:47:39 +0000
(11:47 +1000)
source/smb_server/smb/reply.c
patch
|
blob
|
history
diff --git
a/source/smb_server/smb/reply.c
b/source/smb_server/smb/reply.c
index d28f4b6072e5abee0a37aa1b62a78a3195779df8..d7ed052ba0e48661ee85b6befbc21bbfcdd81c64 100644
(file)
--- a/
source/smb_server/smb/reply.c
+++ b/
source/smb_server/smb/reply.c
@@
-2195,7
+2195,8
@@
void smbsrv_reply_ntcreate_and_X(struct smbsrv_request *req)
/* we use a couple of bits of the create options internally */
if (io->ntcreatex.in.create_options & NTCREATEX_OPTIONS_PRIVATE_MASK) {
- return NT_STATUS_INVALID_PARAMETER;
+ smbsrv_send_error(req, NT_STATUS_INVALID_PARAMETER);
+ return;
}
/* we need a neater way to handle this alignment */