The Samba-Bugzilla – Attachment 10426 Details for
Bug 10932
invalid free in pdb_tdb
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 838 bytes, created by
Volker Lendecke
on 2014-11-11 13:41:35 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2014-11-11 13:41:35 UTC
Size:
838 bytes
patch
obsolete
>From 356eb160a70b7a218f81bfaa5d11a4af2ffff31e Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 11 Nov 2014 10:35:50 +0000 >Subject: [PATCH] pdb_tdb: Fix a TALLOC/SAFE_FREE mixup > >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/passdb/pdb_tdb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c >index 9dd4451..94d9d52 100644 >--- a/source3/passdb/pdb_tdb.c >+++ b/source3/passdb/pdb_tdb.c >@@ -600,7 +600,7 @@ static NTSTATUS tdbsam_getsampwnam (struct pdb_methods *my_methods, > > if (!init_samu_from_buffer(user, SAMU_BUFFER_LATEST, data.dptr, data.dsize)) { > DEBUG(0,("pdb_getsampwent: Bad struct samu entry returned from TDB!\n")); >- SAFE_FREE(data.dptr); >+ TALLOC_FREE(data.dptr); > return NT_STATUS_NO_MEMORY; > } > >-- >1.9.1 >
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:
ddiss
:
review+
Actions:
View
Attachments on
bug 10932
: 10426