[OpenSIPS-Devel] [OpenSIPS/opensips] 7cb534: dialog: fix a crash when removing dialog from profile

Vlad Pătrașcu noreply at github.com
Tue Jun 11 09:52:26 EDT 2019


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7cb53484e1f93259e0324b8203a60748d760d334
      https://github.com/OpenSIPS/opensips/commit/7cb53484e1f93259e0324b8203a60748d760d334
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: fix a crash when removing dialog from profile

Do replicate counter structure deletion if the profile is not shared.

(cherry picked from commit d721a94237c48343b2bcab16bd2a84f3dd618d69)


  Commit: 72a8034d63b6f623046915601917b61dd1a582f7
      https://github.com/OpenSIPS/opensips/commit/72a8034d63b6f623046915601917b61dd1a582f7
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: do not accept replicated counters for local profiles

(cherry picked from commit c5638e9bb58d6db6b428c3cd65502513b28817a5)


  Commit: e2f606eb7625282add73dc0b55def20f517a1d39
      https://github.com/OpenSIPS/opensips/commit/e2f606eb7625282add73dc0b55def20f517a1d39
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: fix behavior of is_in_profile() if no value is passed

The function should also return true when a dialog does belong to a
profile with values but no value is passed to reinforce the check.

(cherry picked from commit d3bc0e256f925ee2c25aea483e14afca8dfcdbbe)


  Commit: e2309bcb3095821efdc1fc5ce5849ec2721015e6
      https://github.com/OpenSIPS/opensips/commit/e2309bcb3095821efdc1fc5ce5849ec2721015e6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 2019)

  Changed paths:
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.h

  Log Message:
  -----------
  cachedb_cassandra: use extensible buffers for query strings

This fixes errors caused by queries being truncated becuase of the
small static buffers that were previously used.

Closes #1696

(cherry picked from commit ad1232d211ab97b4367c1f22fbb2828df6b534d1)


Compare: https://github.com/OpenSIPS/opensips/compare/b6d20d76cb89...e2309bcb3095



More information about the Devel mailing list