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

Razvan Crainea razvan at opensips.org
Thu May 26 15:20:01 CEST 2016


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

(cherry picked from commit 8f46c2fb495d664e868cc226e06c9daf02e63fa6)




More information about the Devel mailing list