mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-11-01 13:18:47 +00:00
Need to check the size of the response header here.
(Logical change 1.59) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@202 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
22cfdcf95c
commit
ecdfa6f923
@ -182,7 +182,7 @@ saRecvQueue (
|
||||
if (error != SA_OK) {
|
||||
goto error_exit;
|
||||
}
|
||||
if (message.header.size > sizeof (struct req_header)) {
|
||||
if (message.header.size > sizeof (struct res_header)) {
|
||||
error = saRecvRetry (s, &message.payload,
|
||||
message.header.size - sizeof (struct res_header),
|
||||
MSG_WAITALL | MSG_NOSIGNAL);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user