mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix calls to anetPeerToString() missing buffer size.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user