Module: kamailio
Branch: master
Commit: e86d6ee30227a3fc5cff98e7983d4a80f0c42c4b
URL:
https://github.com/kamailio/kamailio/commit/e86d6ee30227a3fc5cff98e7983d4a8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-07-27T18:16:40+02:00
db_berkeley: buffer size set to the argument of strftime()
---
Modified: src/modules/db_berkeley/km_bdb_lib.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e86d6ee30227a3fc5cff98e7983d4a8…
Patch:
https://github.com/kamailio/kamailio/commit/e86d6ee30227a3fc5cff98e7983d4a8…
---
diff --git a/src/modules/db_berkeley/km_bdb_lib.c b/src/modules/db_berkeley/km_bdb_lib.c
index 06feb6e4bac..4761084c974 100644
--- a/src/modules/db_berkeley/km_bdb_lib.c
+++ b/src/modules/db_berkeley/km_bdb_lib.c
@@ -676,7 +676,7 @@ int km_bdblib_create_journal(table_p _tp)
{
char *s;
char fn[1024];
- char d[64];
+ char d[128];
FILE *fp = NULL;
struct tm *t;
int bl;