[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-453-g700df9b
Günther Deschner
gd at samba.org
Fri Sep 18 13:32:22 MDT 2009
The branch, master has been updated
via 700df9b27a0623336c1ad78414be9fd572fd2e56 (commit)
from 1f38aa0995f7ffa82f670fe5d36046dd6b8f44ac (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 700df9b27a0623336c1ad78414be9fd572fd2e56
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 18 21:27:55 2009 +0200
s3-smbd: fix get_ea_names_from_file() and check for pnames pointer.
This fixes smbd from crashing all the time.
Jeremy, Volker, please check.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/trans2.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 85eb737..ce45812 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -156,7 +156,9 @@ NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx, connection_struct *conn,
ssize_t sizeret = -1;
if (!lp_ea_support(SNUM(conn))) {
- *pnames = NULL;
+ if (pnames) {
+ *pnames = NULL;
+ }
*pnum_names = 0;
return NT_STATUS_OK;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list