[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Fri Jun 25 09:06:37 MDT 2010
The branch, master has been updated
via 175d947... s3: In make_server_info_info3, check the result of copy_netr_SamInfo3
from 17cd3d0... s3: In copy_netr_SamInfo3 copy all of the sids array
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 175d9478fea24812046299be6a0224bdc699feb9
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 17:06:00 2010 +0200
s3: In make_server_info_info3, check the result of copy_netr_SamInfo3
-----------------------------------------------------------------------
Summary of changes:
source3/auth/auth_util.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index d8e8387..837e58b 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1111,6 +1111,10 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
/* copy in the info3 */
result->info3 = i3 = copy_netr_SamInfo3(result, info3);
+ if (result->info3 == NULL) {
+ TALLOC_FREE(result);
+ return NT_STATUS_NO_MEMORY;
+ }
/* Fill in the unix info we found on the way */
result->utok.uid = pwd->pw_uid;
--
Samba Shared Repository
More information about the samba-cvs
mailing list