[OpenSIPS-Devel] [OpenSIPS/opensips] 180457: cachedb_mongodb: Fix several issues

Liviu Chircu liviu at opensips.org
Fri Aug 18 10:10:55 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 18045793ada31f8f9f36d2b68b36e566456687dd
      https://github.com/OpenSIPS/opensips/commit/18045793ada31f8f9f36d2b68b36e566456687dd
  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


  Commit: de0e58a5952df7c482e78920b5ee67e5bfd0635e
      https://github.com/OpenSIPS/opensips/commit/de0e58a5952df7c482e78920b5ee67e5bfd0635e
  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.


  Commit: c2a0e7e7164d2fc7bba79351dcf126af4f2e79c2
      https://github.com/OpenSIPS/opensips/commit/c2a0e7e7164d2fc7bba79351dcf126af4f2e79c2
  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.


  Commit: 7587326d352ef4ae6b3f2c6afab059ac57c0053c
      https://github.com/OpenSIPS/opensips/commit/7587326d352ef4ae6b3f2c6afab059ac57c0053c
  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.


Compare: https://github.com/OpenSIPS/opensips/compare/06fa801a96e4...7587326d352e


More information about the Devel mailing list