[OpenSIPS-Devel] [OpenSIPS/opensips] 632d28: dialog: fix possible hash id conflict on restart

Liviu Chircu liviu at opensips.org
Tue Aug 19 11:11:55 CEST 2014


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 632d286d6e207c7c2cc44f85138a791b9545bf10
      https://github.com/OpenSIPS/opensips/commit/632d286d6e207c7c2cc44f85138a791b9545bf10
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-08-19 (Tue, 19 Aug 2014)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix possible hash id conflict on restart

When restarting the proxy, the auto-generated next_id of each
hash entry is not properly incremented if a loaded dialog happens to
have this same next_id as hash id. This will soon lead to duplicate hash ids.

Reported by miko95 on GitHub.
(cherry picked from commit b7c3686c176e7c15b806e50f9743ab91656a8da3)




More information about the Devel mailing list