[OpenSIPS-Devel] [OpenSIPS/opensips] 683c3f: acc: Fix possible crash if 'aaa' module not loaded

Liviu Chircu noreply at github.com
Mon Dec 11 15:50:03 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 683c3fb8e4b86a498e6cbded8aefe28b3598bda1
      https://github.com/OpenSIPS/opensips/commit/683c3fb8e4b86a498e6cbded8aefe28b3598bda1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: Fix possible crash if 'aaa' module not loaded

If do_accounting("aaa") is used without a backend module loaded,
OpenSIPS would actually start, then crash when generating an acc record.

Credits to Simon Gajski and Bogdan Iancu for reporting and diagnosing
the issue here.





More information about the Devel mailing list