Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 710598 Details for
Bug 920300
[abrt] dnsmasq-2.65-4.fc18: strcpy: Process /usr/sbin/dnsmasq was killed by signal 11 (SIGSEGV)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for segfault
dnsmasq-2.65-Allocate-dhcp_buff-ers-also-if-deamon-ra_contexts.patch (text/plain), 1.13 KB, created by
Tomáš Hozza
on 2013-03-15 11:29:37 UTC
(
hide
)
Description:
Fix for segfault
Filename:
MIME Type:
Creator:
Tomáš Hozza
Created:
2013-03-15 11:29:37 UTC
Size:
1.13 KB
patch
obsolete
>From c2845b1f4047c7441bae46c8651ab6a6df9d832c Mon Sep 17 00:00:00 2001 >From: Tomas Hozza <thozza@redhat.com> >Date: Fri, 15 Mar 2013 10:55:55 +0100 >Subject: [PATCH] Allocate dhcp_buff-ers also if deamon->ra_contexts > >Allocate dhcp_buff and prevent SIGSEGV. > >Signed-off-by: Tomas Hozza <thozza@redhat.com> >--- > dnsmasq-2.65/src/dnsmasq.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/dnsmasq-2.65/src/dnsmasq.c b/dnsmasq-2.65/src/dnsmasq.c >index 02055e9..d61810b 100644 >--- a/dnsmasq-2.65/src/dnsmasq.c >+++ b/dnsmasq-2.65/src/dnsmasq.c >@@ -152,13 +152,16 @@ int main (int argc, char **argv) > now = dnsmasq_time(); > > #ifdef HAVE_DHCP >- if (daemon->dhcp || daemon->dhcp6) >+ if (daemon->dhcp || daemon->dhcp6 || daemon->ra_contexts) > { > /* Note that order matters here, we must call lease_init before > creating any file descriptors which shouldn't be leaked > to the lease-script init process. We need to call common_init > before lease_init to allocate buffers it uses.*/ > dhcp_common_init(); >+ } >+ if (daemon->dhcp || daemon->dhcp6) >+ { > lease_init(now); > > if (daemon->dhcp) >-- >1.8.1.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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 920300
:
708559
|
708560
|
708561
|
708562
|
708563
|
708564
|
708565
|
708566
|
708567
|
708568
|
709670
| 710598