The Samba-Bugzilla – Attachment 5651 Details for
Bug 7384
dptr_Close has a bitmap leak.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git am fix for 3.5.x.
0001-Fix-bug-7384-dptr_Close-has-a-bitmap-leak.patch (text/plain), 990 bytes, created by
Jeremy Allison
on 2010-04-23 13:27:27 UTC
(
hide
)
Description:
git am fix for 3.5.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-04-23 13:27:27 UTC
Size:
990 bytes
patch
obsolete
>From a204a381ed3f9f792b1e95d38d4a8250ecbecc01 Mon Sep 17 00:00:00 2001 >From: Ira Cooper <samba@ira.wakeful.net> >Date: Fri, 23 Apr 2010 10:55:46 -0700 >Subject: [PATCH] Fix bug #7384 - dptr_Close has a bitmap leak. > >s3: Fix to dptr_Close > >This fixes a bitmap "leak" in dptr_Close by making it use the same internal >routines the rest of the code does. >(cherry picked from commit dd2025947136f28b22b70de59309e149a1f45f3d) >--- > source3/smbd/dir.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > >diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c >index 5ce4a7b..fe8e243 100644 >--- a/source3/smbd/dir.c >+++ b/source3/smbd/dir.c >@@ -555,9 +555,7 @@ NTSTATUS dptr_create(connection_struct *conn, const char *path, bool old_handle, > > int dptr_CloseDir(struct dptr_struct *dptr) > { >- struct smbd_server_connection *sconn = dptr->conn->sconn; >- DLIST_REMOVE(sconn->smb1.searches.dirptrs, dptr); >- TALLOC_FREE(dptr->dir_hnd); >+ dptr_close_internal(dptr); > return 0; > } > >-- >1.7.0.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:
vl
:
review+
Actions:
View
Attachments on
bug 7384
:
5648
| 5651