[OpenSIPS-Devel] [OpenSIPS/opensips] 427b4a: 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.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 427b4a7ec3e4f0c0bba1c66e473b30992330f091
      https://github.com/OpenSIPS/opensips/commit/427b4a7ec3e4f0c0bba1c66e473b30992330f091
  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