The Samba-Bugzilla – Attachment 9105 Details for
Bug 10063
source3/lib/util.c:1493 leaking memory w/ pam_winbind.so / winbind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for master.
0001-Fix-bug-10063-source3-lib-util.c-1493-leaking-memory.patch (text/plain), 917 bytes, created by
Jeremy Allison
on 2013-08-02 22:54:51 UTC
(
hide
)
Description:
git-am fix for master.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-08-02 22:54:51 UTC
Size:
917 bytes
patch
obsolete
>From 692440f8dcf0f6c2cb121c2230a4d7626c022141 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 2 Aug 2013 15:03:39 -0700 >Subject: [PATCH] Fix bug #10063 - source3/lib/util.c:1493 leaking memory w/ > pam_winbind.so / winbind > >Don't use talloc_tos() in something that can be linked to in pam_winbindd.so > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/lib/util.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/source3/lib/util.c b/source3/lib/util.c >index 93aab3c..db46ad3 100644 >--- a/source3/lib/util.c >+++ b/source3/lib/util.c >@@ -1487,10 +1487,12 @@ char *myhostname(void) > > char *myhostname_upper(void) > { >- char *name; > static char *ret; > if (ret == NULL) { >- name = get_myname(talloc_tos()); >+ char *name = get_myname(NULL); >+ if (name == NULL) { >+ return NULL; >+ } > ret = strupper_talloc(NULL, name); > talloc_free(name); > } >-- >1.8.3 >
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
Actions:
View
Attachments on
bug 10063
: 9105