git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a85737
)
s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO
author
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Jul 2012 14:43:58 +0000
(16:43 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Jul 2012 21:32:18 +0000
(23:32 +0200)
metze
source3/smbd/smb2_ioctl.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_ioctl.c
b/source3/smbd/smb2_ioctl.c
index 3e2b82faaf6ff886cd8fe9c311f46b7fc1cefcb7..3502d35fe32fe4d27249f4c4849831e21507ca2b 100644
(file)
--- a/
source3/smbd/smb2_ioctl.c
+++ b/
source3/smbd/smb2_ioctl.c
@@
-540,7
+540,7
@@
static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
}
}
- if (
!GUID_compare(&in_guid, &conn->smb2.client.guid)
) {
+ if (
GUID_compare(&in_guid, &conn->smb2.client.guid) != 0
) {
state->disconnect = true;
tevent_req_nterror(req, NT_STATUS_ACCESS_DENIED);
return tevent_req_post(req, ev);