corosync/corosync-cs2731.patch
OBS User autobuild aa4184eba9 Accepting request 42251 from network:ha-clustering:Factory
Copy from network:ha-clustering:Factory/corosync based on submit request 42251 from user tserong

OBS-URL: https://build.opensuse.org/request/show/42251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/corosync?expand=0&rev=1
2010-06-29 16:10:39 +00:00

14 lines
400 B
Diff

Index: trunk/exec/service.c
===================================================================
--- trunk/exec/service.c (revision 2730)
+++ trunk/exec/service.c (revision 2731)
@@ -436,7 +436,7 @@
(void *)&service_id, NULL);
if(service_id != NULL
- && *service_id > 0
+ && *service_id >= 0
&& *service_id < SERVICE_HANDLER_MAXIMUM_COUNT
&& ais_service[*service_id] != NULL) {