mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-25 07:17:11 +00:00
Patch to log security warnings when invalid identifier is used in message
header for a totem message. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1425 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
ca24b42838
commit
fb2e10bedb
@ -4042,7 +4042,12 @@ void main_deliver_fn (
|
||||
log_printf (instance->totemsrp_log_level_security, "Received message is too short... ignoring %d.\n", msg_len);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if ((int)message_header->type >= totemsrp_message_handlers.count) {
|
||||
log_printf (instance->totemsrp_log_level_security, "Type of received message is wrong... ignoring %d.\n", (int)message_header->type);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Handle incoming message
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user