mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
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))) {
|
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user