mirror of
https://github.com/fluencelabs/redis
synced 2025-06-25 23:11:33 +00:00
Cluster: sanity checks on the cluster bus message length.
This commit is contained in:
@ -637,6 +637,8 @@ typedef struct {
|
||||
union clusterMsgData data;
|
||||
} clusterMsg;
|
||||
|
||||
#define CLUSTERMSG_MIN_LEN (sizeof(clusterMsg)-sizeof(union clusterMsgData))
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
* Global server state
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user