Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
corosync
bnc#881142-fix-shm-leak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc#881142-fix-shm-leak.patch of Package corosync
Index: corosync-2.3.3/exec/main.c =================================================================== --- corosync-2.3.3.orig/exec/main.c +++ corosync-2.3.3/exec/main.c @@ -1107,6 +1107,7 @@ int main (int argc, char **argv, char ** case 'v': printf ("Corosync Cluster Engine, version '%s'\n", VERSION); printf ("Copyright (c) 2006-2009 Red Hat, Inc.\n"); + logsys_system_fini(); return EXIT_SUCCESS; break; @@ -1117,6 +1118,7 @@ int main (int argc, char **argv, char ** " -p : Does nothing. \n"\ " -r : Set round robin realtime scheduling \n"\ " -v : Display version and SVN revision of Corosync and exit.\n"); + logsys_system_fini(); return EXIT_FAILURE; } } @@ -1254,6 +1256,10 @@ int main (int argc, char **argv, char ** qb_loop_signal_add(corosync_poll_handle, QB_LOOP_HIGH, SIGINT, NULL, sig_exit_handler, NULL); qb_loop_signal_add(corosync_poll_handle, QB_LOOP_HIGH, + SIGSEGV, NULL, sigsegv_handler, NULL); + qb_loop_signal_add(corosync_poll_handle, QB_LOOP_HIGH, + SIGABRT, NULL, sigabrt_handler, NULL); + qb_loop_signal_add(corosync_poll_handle, QB_LOOP_HIGH, SIGQUIT, NULL, sig_exit_handler, NULL); qb_loop_signal_add(corosync_poll_handle, QB_LOOP_HIGH, SIGTERM, NULL, sig_exit_handler, NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor