Make sure that the message count in the message matches the actual length

of the message.

(Logical change 1.170)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@578 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Mark Haverkamp 2005-04-06 19:37:30 +00:00
parent 4002f9b5fb
commit 5f1e727245

View File

@ -739,6 +739,8 @@ static void deliver_fn (
header->size = swab32 (header->size);
}
assert(iovec->iov_len == header->size);
res = aisexec_handler_fns[header->id](header, source_addr,
endian_conversion_required);
}