Module: kamailio
Branch: master
Commit: b5ae633242e5e34b1f6dc8f025e68872b47b461c
URL:
https://github.com/kamailio/kamailio/commit/b5ae633242e5e34b1f6dc8f025e6887…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-08-17T11:09:53+02:00
usrloc: increased the size for keys2 array in ul_ka_db_records()
- consequence of 06f933ad17aac3a3f0f81cf0e0ab04f38cf60993
---
Modified: src/modules/usrloc/dlist.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b5ae633242e5e34b1f6dc8f025e6887…
Patch:
https://github.com/kamailio/kamailio/commit/b5ae633242e5e34b1f6dc8f025e6887…
---
diff --git a/src/modules/usrloc/dlist.c b/src/modules/usrloc/dlist.c
index c0c7cb0009..4e54f9628e 100644
--- a/src/modules/usrloc/dlist.c
+++ b/src/modules/usrloc/dlist.c
@@ -92,8 +92,8 @@ int ul_ka_db_records(int partidx)
db_key_t keys1[4]; /* where */
db_val_t vals1[4];
db_op_t ops1[4];
- db_key_t keys2[8]; /* select */
- int n[2] = {2, 8}; /* number of dynamic values used on key1/key2 */
+ db_key_t keys2[9]; /* select */
+ int n[2] = {2, 9}; /* number of dynamic values used on key1/key2 */
dlist_t *dom = NULL;
urecord_t ur;
ucontact_t uc;