[OpenSIPS-Devel] [OpenSIPS/opensips] 0ef55e: dispatcher: fix several issues with empty destinat...

Liviu Chircu liviu at opensips.org
Wed Dec 10 10:34:05 CET 2014


  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0ef55ed992bfd7121771ffec79ec51273a29a1c6
      https://github.com/OpenSIPS/opensips/commit/0ef55ed992bfd7121771ffec79ec51273a29a1c6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-12-10 (Wed, 10 Dec 2014)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: fix several issues with empty destination sets

Upon (re)load, a dispatching set may be empty if none of its destinations
can be resolved. This patch fixes a couple of crashes which are directly
related to empty destination sets:

    * fix a bug in reindex_dests() where a single bogus destination
      would be allocated for each empty set
    * prevent ds_select_dst() from routing to empty sets

(cherry picked from commit 127b456a874499b6295008425144ca29b5e69d75)

Conflicts:
	modules/dispatcher/dispatch.c




More information about the Devel mailing list