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:
d7dc859
)
s3:lib: assert stream_name is NULL for POSIX paths
author
Ralph Boehme
<slow@samba.org>
Wed, 25 Sep 2019 17:15:27 +0000
(10:15 -0700)
committer
Ralph Boehme
<slow@samba.org>
Wed, 2 Oct 2019 08:01:39 +0000
(08:01 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14137
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/filename_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/filename_util.c
b/source3/lib/filename_util.c
index 6bf29c2b0c9b7f42ca94b28d30f475bc23b9598f..165adb116b550dcebb8a78ff68be8715e8aa3b2e 100644
(file)
--- a/
source3/lib/filename_util.c
+++ b/
source3/lib/filename_util.c
@@
-250,7
+250,7
@@
bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname)
}
if (smb_fname->flags & SMB_FILENAME_POSIX_PATH) {
-
return false
;
+
SMB_ASSERT(smb_fname->stream_name == NULL)
;
}
if (smb_fname->stream_name == NULL) {