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

Liviu Chircu noreply at github.com
Mon Dec 11 15:48:54 UTC 2023


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