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

Liviu Chircu liviu at opensips.org
Wed Dec 10 10:29:17 CET 2014


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




More information about the Devel mailing list