[SCM] Samba Shared Repository - branch master updated -
627c844a13caf869ae3c68ec780a8eded7cb181d
Volker Lendecke
vlendec at samba.org
Sat Dec 13 09:49:53 GMT 2008
The branch, master has been updated
via 627c844a13caf869ae3c68ec780a8eded7cb181d (commit)
from fd2bac966783a9aa3f278cc67219920384bc0981 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 627c844a13caf869ae3c68ec780a8eded7cb181d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 13 10:31:11 2008 +0100
Fix a valgrind error in get_relative_fid_filename
It doesn't really make sense to check the length of a not-yet-allocated string
:-)
Volker
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/open.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 1e988f6..d22eda2 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3067,7 +3067,7 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
files_struct *dir_fsp;
char *parent_fname = NULL;
- if (root_dir_fid == 0 || !fname || !new_fname || !*new_fname) {
+ if (root_dir_fid == 0 || !fname || !new_fname) {
return NT_STATUS_INTERNAL_ERROR;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list