[OpenSIPS-Devel] [OpenSIPS/opensips] 9c4245: cachedb_mongodb: Fix several issues
Liviu Chircu
liviu at opensips.org
Fri Aug 18 10:12:52 EDT 2017
Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: 9c4245b034dbf708641e4f1170a7d6690be7f7cd
https://github.com/OpenSIPS/opensips/commit/9c4245b034dbf708641e4f1170a7d6690be7f7cd
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-08-18 (Fri, 18 Aug 2017)
Changed paths:
M modules/cachedb_mongodb/cachedb_mongodb.c
M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
M modules/cachedb_mongodb/cachedb_mongodb_json.c
Log Message:
-----------
cachedb_mongodb: Fix several issues
* fix startup crash when libmongoc is compiled with
--disable-automatic-init-and-cleanup
* add silent startup dependency with tls_mgm module, since
both modules attempt to perform TLS initialization
* add proper handling for NULL and ObjectID types
* fix a bson iteration bug, causing find() to skip 1st doc
* fix a bug in kvo_to_bson(), causing OpenSIPS to crash
* fix compile errors on some platforms due to "str" var names
Based on an original report+patch provided by @jalung on GitHub.
Closes #1135
Closes #1163
(cherry picked from commit 18045793ada31f8f9f36d2b68b36e566456687dd)
Commit: 60d3c785ffd1d7e6c5f050e222134711cdc211e4
https://github.com/OpenSIPS/opensips/commit/60d3c785ffd1d7e6c5f050e222134711cdc211e4
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-08-18 (Fri, 18 Aug 2017)
Changed paths:
M modules/usrloc/ucontact.c
Log Message:
-----------
usrloc: Fix contact matching with db_cachedb
Based on an original report+patch provided by @jalung on GitHub.
(cherry picked from commit de0e58a5952df7c482e78920b5ee67e5bfd0635e)
Commit: f6ff0bb661e4f00b5d03c16b986afea6b6075ee3
https://github.com/OpenSIPS/opensips/commit/f6ff0bb661e4f00b5d03c16b986afea6b6075ee3
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-08-18 (Fri, 18 Aug 2017)
Changed paths:
M modules/registrar/save.c
Log Message:
-----------
registrar: Fix possible crash with remove()
When using usrloc "use_domain = 1", the registrar remove() function
could cause OpenSIPS to crash due to some uninitialized struct.
Based on an original report+patch provided by @jalung on GitHub.
(cherry picked from commit c2a0e7e7164d2fc7bba79351dcf126af4f2e79c2)
Commit: 1720ef4359dfc75cd6c693cd48214b2348a5b25a
https://github.com/OpenSIPS/opensips/commit/1720ef4359dfc75cd6c693cd48214b2348a5b25a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-08-18 (Fri, 18 Aug 2017)
Changed paths:
M cachedb/cachedb.c
Log Message:
-----------
cachedb: Improve error reporting for bad connect strings
Based on an original report+patch provided by @jalung on GitHub.
(cherry picked from commit 7587326d352ef4ae6b3f2c6afab059ac57c0053c)
Compare: https://github.com/OpenSIPS/opensips/compare/72fa14610e95...1720ef4359df
More information about the Devel
mailing list