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

Liviu Chircu noreply at github.com
Fri Oct 4 09:55:20 EDT 2019


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

(cherry picked from commit 9c49b09c1888c29208475e5d7d5827eea3a964cf)





More information about the Devel mailing list