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

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


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