The Samba-Bugzilla – Attachment 5075 Details for
Bug 6982
Erroneous out of memory error path in lookup_sid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.4
samba3-3.4.3-fix-bogus-out-of-memory-winbind-msg.patch (text/plain), 909 bytes, created by
Michael Adam
on 2009-12-10 01:00:19 UTC
(
hide
)
Description:
Patch for 3.4
Filename:
MIME Type:
Creator:
Michael Adam
Created:
2009-12-10 01:00:19 UTC
Size:
909 bytes
patch
obsolete
>From eaf678ca527b0fe333027e5044c3cb5448ba4d4b Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 13 May 2009 10:12:26 +0200 >Subject: [PATCH] fix bogus "out of memory" winbind msg > >--- > source3/rpc_client/cli_lsarpc.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c >index 37387a0..38ef998 100644 >--- a/source3/rpc_client/cli_lsarpc.c >+++ b/source3/rpc_client/cli_lsarpc.c >@@ -213,7 +213,8 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli, > } else { > (names)[i] = NULL; > } >- (domains)[i] = talloc_strdup(mem_ctx, dom_name); >+ domains[i] = talloc_strdup( >+ mem_ctx, dom_name ? dom_name : ""); > (types)[i] = lsa_names.names[i].sid_type; > if (((domains)[i] == NULL)) { > DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n")); >-- >1.5.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6982
: 5075