git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a48df
)
r24595: Fix Coverity ID 393
author
Volker Lendecke
<vlendec@samba.org>
Tue, 21 Aug 2007 12:58:10 +0000
(12:58 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:08 +0000
(12:30 -0500)
In this error case we would have used "start" not having it initialized
(This used to be commit
751834fff92e85a424152c1642b238daa3060dbd
)
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index 73e3869f50b7b079696282a2b85e98296a4c609d..25ade5294761eb2120d8a4b52a6bd1669cd3361c 100644
(file)
--- a/
source3/smbd/filename.c
+++ b/
source3/smbd/filename.c
@@
-155,8
+155,7
@@
NTSTATUS unix_convert(connection_struct *conn,
if (!*orig_path) {
if (!(name = SMB_STRDUP("."))) {
- result = NT_STATUS_NO_MEMORY;
- goto fail;
+ return NT_STATUS_NO_MEMORY;
}
if (SMB_VFS_STAT(conn,name,&st) == 0) {
*pst = st;