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

Liviu Chircu liviu at opensips.org
Tue Dec 16 11:42:50 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c7870bdeb5d4405b72cde28cec4959a9703254b4
      https://github.com/OpenSIPS/opensips/commit/c7870bdeb5d4405b72cde28cec4959a9703254b4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-12-16 (Tue, 16 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




More information about the Devel mailing list