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

Fix calls to anetPeerToString() missing buffer size.

parent 47620a31
......@@ -2349,7 +2349,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