aa4184eba9
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
14 lines
400 B
Diff
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) {
|
|
|