The Samba-Bugzilla – Attachment 7975 Details for
Bug 9233
internal dns server has a non handled out of memory case
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix the problem
0002-s4-dns-fix-a-non-handled-memory-out-of-memory.patch (text/plain), 783 bytes, created by
Matthieu Patou
on 2012-10-02 04:46:43 UTC
(
hide
)
Description:
Proposed patch to fix the problem
Filename:
MIME Type:
Creator:
Matthieu Patou
Created:
2012-10-02 04:46:43 UTC
Size:
783 bytes
patch
obsolete
>From fd89c0e97eafedc326ad83beaeecd55e2aac5471 Mon Sep 17 00:00:00 2001 >From: Matthieu Patou <mat@matws.net> >Date: Mon, 1 Oct 2012 21:43:11 -0700 >Subject: [PATCH 2/2] s4-dns: fix a non handled memory out of memory > >--- > source4/dns_server/dns_server.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c >index c452026..bc9da74 100644 >--- a/source4/dns_server/dns_server.c >+++ b/source4/dns_server/dns_server.c >@@ -828,6 +828,7 @@ static void dns_task_init(struct task_server *task) > > z = talloc_zero(dns, struct dns_server_zone); > if (z == NULL) { >+ task_server_terminate(task, "dns failed to allocate memory", true); > } > > z->name = ldb_msg_find_attr_as_string(res->msgs[i], "name", NULL); >-- >1.7.9.5 >
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:
kai
:
review+
Actions:
View
Attachments on
bug 9233
: 7975