[OpenSIPS-Devel] [OpenSIPS/opensips] 9c49b0: Module deps: Fix a corner-case leading to a crash

Liviu Chircu noreply at github.com
Fri Oct 4 09:54:58 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c49b09c1888c29208475e5d7d5827eea3a964cf
      https://github.com/OpenSIPS/opensips/commit/9c49b09c1888c29208475e5d7d5827eea3a964cf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M sr_module_deps.c

  Log Message:
  -----------
  Module deps: Fix a corner-case leading to a crash

When setting a dependency-inducing modparam multiple times (e.g. avpops
db_url) while having loaded no further dependency-inducing modules,
OpenSIPS would crash on startup.

Thanks to Xiao Huang for the report and fix
Fixes #1843





More information about the Devel mailing list