mirror of https://mirror.osredm.com/root/redis.git
Fix calls to anetPeerToString() missing buffer size.
This commit is contained in:
parent
93570e179e
commit
1ca4008d14
|
@ -2424,7 +2424,7 @@ sds genRedisInfoString(char *section) {
|
|||
while((ln = listNext(&li))) {
|
||||
redisClient *slave = listNodeValue(ln);
|
||||
char *state = NULL;
|
||||
char ip[32];
|
||||
char ip[INET6_ADDRSTRLEN];
|
||||
int port;
|
||||
long lag = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue