The Samba-Bugzilla – Attachment 4665 Details for
Bug 6696
smbd 3.3.7 crashes (signal 11) in dns_register_smbd_reply
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Second part of fix for 3.3.x.
0001-Second-part-of-fix-for-bug-6696-smbd-3.3.7-crashes.patch (text/plain), 1.08 KB, created by
Jeremy Allison
on 2009-09-08 19:25:18 UTC
(
hide
)
Description:
Second part of fix for 3.3.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-09-08 19:25:18 UTC
Size:
1.08 KB
patch
obsolete
>From 84ae4fd828d209dcb6a5a1ca7468e64b44f834d2 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 8 Sep 2009 17:22:39 -0700 >Subject: [PATCH] Second part of fix for bug 6696 - smbd 3.3.7 crashes (signal 11) in dns_register_smbd_reply. > Restore the code from 3.2 that actually initializes the struct dns_reg_state handle. > Jeremy. > >--- > source/smbd/server.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/source/smbd/server.c b/source/smbd/server.c >index e0f86a6..5129484 100644 >--- a/source/smbd/server.c >+++ b/source/smbd/server.c >@@ -652,6 +652,12 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_ > FD_ZERO(&w_fds); > GetTimeOfDay(&now); > >+ /* Kick off our mDNS registration. */ >+ if (dns_port != 0) { >+ dns_register_smbd(&dns_reg, dns_port, &maxfd, >+ &r_fds, &idle_timeout); >+ } >+ > event_add_to_select_args(smbd_event_context(), &now, > &r_fds, &w_fds, &idle_timeout, > &maxfd); >-- >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
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6696
:
4657
| 4665