mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-15 11:31:15 +00:00
Don't crash if we get a message for a service that isn't loaded.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1699 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
476bc5e291
commit
ccef86ebb9
@ -451,6 +451,8 @@ static void deliver_fn (
|
||||
*/
|
||||
service = header->id >> 16;
|
||||
fn_id = header->id & 0xffff;
|
||||
if (!ais_service[service])
|
||||
return;
|
||||
if (endian_conversion_required) {
|
||||
assert(ais_service[service]->exec_engine[fn_id].exec_endian_convert_fn != NULL);
|
||||
ais_service[service]->exec_engine[fn_id].exec_endian_convert_fn
|
||||
|
Loading…
Reference in New Issue
Block a user