git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7254898
)
Fix coverity CID 930. Pointer check can never be null here.
author
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:29:28 +0000
(21:29 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:29:28 +0000
(21:29 -0700)
Jeremy
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 561c18a29d5ed63659c984f561041dc8b27ff6ff..cb76deb90ae31bd3ebd0f51c6a6459d12415063f 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-4806,7
+4806,7
@@
static void call_trans2qfilepathinfo(connection_struct *conn,
/* We know this name is ok, it's already passed the checks. */
- } else if(fsp
&& (fsp->is_directory || fsp->fh->fd == -1)
) {
+ } else if(fsp
->is_directory || fsp->fh->fd == -1
) {
/*
* This is actually a QFILEINFO on a directory
* handle (returned from an NT SMB). NT5.0 seems