The Samba-Bugzilla – Attachment 8389 Details for
Bug 9549
async smb echo handler has a memleak
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
9549.patch (text/plain), 753 bytes, created by
Volker Lendecke
on 2013-01-08 15:10:47 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2013-01-08 15:10:47 UTC
Size:
753 bytes
patch
obsolete
>From 6954f047e850b03464a5512e8bf1a5ea2f8fd1f8 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 8 Jan 2013 15:34:19 +0100 >Subject: [PATCH] smbd: Fix bug 9549 -- Memleak in the async echo handler > >--- > source3/smbd/process.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/process.c b/source3/smbd/process.c >index f89ca02..a02aeda 100644 >--- a/source3/smbd/process.c >+++ b/source3/smbd/process.c >@@ -3022,7 +3022,7 @@ static void smbd_echo_got_packet(struct tevent_req *req) > } > > iov = &state->pending[num_pending]; >- iov->iov_base = buf; >+ iov->iov_base = talloc_move(state->pending, &buf); > iov->iov_len = buflen; > > DEBUG(10,("echo_handler[%d]: forward to main\n", >-- >1.7.3.4 >
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:
jra
:
review+
Actions:
View
Attachments on
bug 9549
: 8389