Module: kamailio
Branch: 5.0
Commit: 3a7f60ee237e29919586400f7700f4393b9083f2
URL:
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Luis Azedo <luis(a)2600hz.com>
Date: 2017-12-09T11:35:56Z
presence: increased the size of db update arrays in update_subs_db()
(cherry picked from commit 816d2cd44d96245b5a5b53505d6fbc350bda378c)
---
Modified: src/modules/presence/subscribe.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
Patch:
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
---
diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c
index 6c21e75bd0..4f902e7403 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;