Module: kamailio
Branch: master
Commit: 6f434afc414b7f5b66374a124138990f7a3dd1d1
URL:
https://github.com/kamailio/kamailio/commit/6f434afc414b7f5b66374a124138990…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-07-05T11:47:34+02:00
ndb_redis: larger size for buffers to create server specs on cluster redirect
- GH #3894
---
Modified: src/modules/ndb_redis/redis_client.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6f434afc414b7f5b66374a124138990…
Patch:
https://github.com/kamailio/kamailio/commit/6f434afc414b7f5b66374a124138990…
---
diff --git a/src/modules/ndb_redis/redis_client.c b/src/modules/ndb_redis/redis_client.c
index cba94a38c06..74df8efda0b 100644
--- a/src/modules/ndb_redis/redis_client.c
+++ b/src/modules/ndb_redis/redis_client.c
@@ -886,11 +886,11 @@ int redisc_exec_pipelined(redisc_server_t *rsrv)
int check_cluster_reply(redisReply *reply, redisc_server_t **rsrv)
{
redisc_server_t *rsrv_new;
- char buffername[100];
+ char buffername[512];
unsigned int port;
str addr = {0, 0}, tmpstr = {0, 0}, name = {0, 0};
int server_len = 0;
- char spec_new[100];
+ char spec_new[512];
if(redis_cluster_param) {
LM_DBG("Redis replied: \"%.*s\"\n", (int)reply->len,
reply->str);