提交 1ca4008d 编写于 作者: G Geoff Garside 提交者: antirez

Fix calls to anetPeerToString() missing buffer size.

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册