git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
360436b
)
s3:smbd: Fix Coverity ID 937, REVERSE_INULL
author
Volker Lendecke
<vl@samba.org>
Fri, 4 Sep 2009 05:57:19 +0000
(07:57 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 4 Sep 2009 05:57:26 +0000
(07:57 +0200)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 045635535f6da6b2aced9f22b2782b57ef07ef22..492164ceeee50af7e56143c51b53d7327553d43c 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-3332,12
+3332,12
@@
NTSTATUS get_relative_fid_filename(connection_struct *conn,
dir_fsp = file_fsp(req, root_dir_fid);
- if (
is_ntfs_stream_smb_fname(dir_fsp->fsp_name)
) {
+ if (
dir_fsp == NULL
) {
status = NT_STATUS_INVALID_HANDLE;
goto out;
}
- if (
dir_fsp == NULL
) {
+ if (
is_ntfs_stream_smb_fname(dir_fsp->fsp_name)
) {
status = NT_STATUS_INVALID_HANDLE;
goto out;
}