diff options
author | Volker Lendecke <vl@samba.org> | 2009-09-04 07:57:19 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-09-04 07:57:26 +0200 |
commit | b4a4186556f6d33be40ef7358bcd71c83a8092f2 (patch) | |
tree | 2763533cded4faaef59aee293f3f99c1f5b8a99a /source3 | |
parent | 360436b656fc2d939175ae740ecee98d44fadaec (diff) | |
download | samba-b4a4186556f6d33be40ef7358bcd71c83a8092f2.tar.gz samba-b4a4186556f6d33be40ef7358bcd71c83a8092f2.tar.bz2 samba-b4a4186556f6d33be40ef7358bcd71c83a8092f2.zip |
s3:smbd: Fix Coverity ID 937, REVERSE_INULL
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 045635535f..492164ceee 100644 --- 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; } |