mirror of
https://github.com/fluencelabs/redis
synced 2025-06-25 23:11:33 +00:00
Fix calls to anetPeerToString() missing buffer size.
This commit is contained in:
@ -2349,7 +2349,7 @@ sds genRedisInfoString(char *section) {
|
|||||||
while((ln = listNext(&li))) {
|
while((ln = listNext(&li))) {
|
||||||
redisClient *slave = listNodeValue(ln);
|
redisClient *slave = listNodeValue(ln);
|
||||||
char *state = NULL;
|
char *state = NULL;
|
||||||
char ip[32];
|
char ip[INET6_ADDRSTRLEN];
|
||||||
int port;
|
int port;
|
||||||
long lag = 0;
|
long lag = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user