[OpenSIPS-Devel] [OpenSIPS/opensips] ab36f5: 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.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ab36f59b2efd95d215a2c8f992336abe665de8eb
      https://github.com/OpenSIPS/opensips/commit/ab36f59b2efd95d215a2c8f992336abe665de8eb
  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