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:
eba2eb4
)
Fix coverity CID 931. This check is redundent as smb_fname can
author
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:26:16 +0000
(21:26 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:26:16 +0000
(21:26 -0700)
never be null in this function.
Jeremy.
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 06536f9e217765e2925f8e6d735da60857280197..561c18a29d5ed63659c984f561041dc8b27ff6ff 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-7244,7
+7244,7
@@
NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
case SMB_SET_FILE_UNIX_HLINK:
{
- if (fsp
|| smb_fname == NULL
) {
+ if (fsp) {
/* We must have a pathname for this. */
return NT_STATUS_INVALID_LEVEL;
}