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

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


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




More information about the Devel mailing list