Commit 1ca4008d authored by Geoff Garside's avatar Geoff Garside Committed by antirez
Browse files

Fix calls to anetPeerToString() missing buffer size.

parent 93570e17
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment