[OpenSIPS-Devel] [OpenSIPS/opensips] 8f46c2: fix bin crash if no listener defined

Razvan Crainea razvan at opensips.org
Thu May 26 15:17:50 CEST 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8f46c2fb495d664e868cc226e06c9daf02e63fa6
      https://github.com/OpenSIPS/opensips/commit/8f46c2fb495d664e868cc226e06c9daf02e63fa6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M bin_interface.c
    M modules/dialog/dialog.c
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  fix bin crash if no listener defined

When using usrloc and dialog replication, if no bin_listen is defined,
OpenSIPS crashes. This fix ensures that if there are any replication
destinations defined, the binary listener exists.

Thanks go to Stas Kobzar for reporting this
Closes #652




More information about the Devel mailing list