Module: kamailio
Branch: master
Commit: 816d2cd44d96245b5a5b53505d6fbc350bda378c
URL:
https://github.com/kamailio/kamailio/commit/816d2cd44d96245b5a5b53505d6fbc3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-08T09:25:12+01:00
presence: increased the size of db update arrays in update_subs_db()
---
Modified: src/modules/presence/subscribe.c
---
Diff:
https://github.com/kamailio/kamailio/commit/816d2cd44d96245b5a5b53505d6fbc3…
Patch:
https://github.com/kamailio/kamailio/commit/816d2cd44d96245b5a5b53505d6fbc3…
---
diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c
index f199f95c58..fb0fa719ad 100644
--- a/src/modules/presence/subscribe.c
+++ b/src/modules/presence/subscribe.c
@@ -372,8 +372,8 @@ int insert_subs_db(subs_t* s, int type)
int update_subs_db(subs_t* subs, int type)
{
- db_key_t query_cols[3], update_keys[8];
- db_val_t query_vals[3], update_vals[8];
+ db_key_t query_cols[3], update_keys[10];
+ db_val_t query_vals[3], update_vals[10];
int n_update_cols= 0;
int n_query_cols = 0;