diff options
author | 2011-02-24 10:24:42 +0000 | |
---|---|---|
committer | 2011-02-24 10:24:42 +0000 | |
commit | 3e395bc54373f9ddd064ede8388c912e8fcebfe8 (patch) | |
tree | 7930e273469f5be008d687dd055dac3464deb081 /net-wireless | |
parent | Drop problematic misdn dependencies from the 1.6.2 branch to aid in security ... (diff) | |
download | gentoo-2-3e395bc54373f9ddd064ede8388c912e8fcebfe8.tar.gz gentoo-2-3e395bc54373f9ddd064ede8388c912e8fcebfe8.tar.bz2 gentoo-2-3e395bc54373f9ddd064ede8388c912e8fcebfe8.zip |
[net-wireless/wimax] Fix bug #356221
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wimax/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/wimax/files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch | 40 |
2 files changed, 5 insertions, 41 deletions
diff --git a/net-wireless/wimax/ChangeLog b/net-wireless/wimax/ChangeLog index 0f070e3d57b5..c4e1d40ef160 100644 --- a/net-wireless/wimax/ChangeLog +++ b/net-wireless/wimax/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/wimax # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v 1.7 2011/02/23 11:12:08 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v 1.8 2011/02/24 10:24:42 alexxy Exp $ + + 24 Feb 2011; Alexey Shvetsov <alexxy@gentoo.org> + files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch: + Fix bug #356221 *wimax-1.5.1-r1 (23 Feb 2011) diff --git a/net-wireless/wimax/files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch b/net-wireless/wimax/files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch index 8efd54efa482..b4a6315696ff 100644 --- a/net-wireless/wimax/files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch +++ b/net-wireless/wimax/files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch @@ -55,46 +55,6 @@ index bdf6e22..0637790 100644 signal(SIGINT, stop_signal_handler); diff --git a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu.c b/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu.c index ad187c4..dfa94db 100644 ---- a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu.c -+++ b/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu.c -@@ -3055,7 +3055,7 @@ void print_callstack_to_file(int sig, siginfo_t *info, - // printf("Came here %d\n", __LINE__); - char command[MAX_STR_LEN + MAX_FILENAME_LEN]; - /* Do something useful with siginfo_t */ -- if ((sig != SIGSEGV) && (sig != SIGINT)) { -+ if (sig != SIGINT) { - syslog(LOG_ERR,"Got signal %d#92", sig); - // printf("Came here %d\n", __LINE__); - return; -@@ -3136,20 +3136,6 @@ void wimaxcu_signal_handler(int sig, siginfo_t *info, - printf("Please check /var/log/wimax folder \n"); - - print_callstack_to_file(sig, info, secret); -- -- -- // kalyan -- // If wimaxcu recieved segmentation fault -- // Stack might be corrupted -- // So it is good idea to just exit -- // This may recives some system resources hanging -- -- if(sig == SIGSEGV) { -- printf("Exit \n"); -- exit(0); -- } -- -- - wimaxcu_stop_signal_handler(sig); - - } -@@ -3191,7 +3177,6 @@ int main(int argc, char *argv[]) - sigemptyset (&sa.sa_mask); - sa.sa_flags = SA_RESTART | SA_SIGINFO; - -- sigaction(SIGSEGV, &sa, NULL); - sigaction(SIGUSR1, &sa, NULL); - - signal(SIGINT, wimaxcu_stop_signal_handler); diff --git a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_main.c b/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_main.c index faf0f36..d14a2ae 100644 --- a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_main.c |