The Samba-Bugzilla – Attachment 5131 Details for
Bug 7020
smbd using 2G memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am format patch for 3.4.4.
0001-Fix-bug-7020-smbd-using-2G-memory.patch (text/plain), 1.20 KB, created by
Jeremy Allison
on 2010-01-05 16:40:45 UTC
(
hide
)
Description:
git-am format patch for 3.4.4.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-01-05 16:40:45 UTC
Size:
1.20 KB
patch
obsolete
>From 2fe90d0d4401701d0d97478d0fead2ed49e71a00 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 5 Jan 2010 14:38:56 -0800 >Subject: [PATCH] Fix bug #7020 - smbd using 2G memory. > >When deferring an async pipe writeX and readX transfer >the outstanding request struct onto the conn struct. This >needs freeing after the packet is finally processed. > >Jeremy. >--- > source3/smbd/pipes.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c >index 2686cf4..878d171 100644 >--- a/source3/smbd/pipes.c >+++ b/source3/smbd/pipes.c >@@ -326,6 +326,11 @@ static void pipe_write_andx_done(struct tevent_req *subreq) > > done: > chain_reply(req); >+ /* >+ * We must free here as the ownership of req was >+ * moved to the connection struct in reply_pipe_write_and_X(). >+ */ >+ TALLOC_FREE(req); > } > > /**************************************************************************** >@@ -431,4 +436,9 @@ static void pipe_read_andx_done(struct tevent_req *subreq) > > done: > chain_reply(req); >+ /* >+ * We must free here as the ownership of req was >+ * moved to the connection struct in reply_pipe_read_and_X(). >+ */ >+ TALLOC_FREE(req); > } >-- >1.5.4.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 7020
:
5129
|
5130
| 5131 |
5132
|
5133
|
5134
|
5135
|
5136
|
5137
|
5138
|
5139
|
5141
|
5142
|
5143
|
5149