Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: caebd8e068e070eab8b6f34f93bc23cbf5b47273
      
https://github.com/OpenSIPS/opensips/commit/caebd8e068e070eab8b6f34f93bc23cbf5b47273
  Author: Liviu Chircu <[email protected]>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M modules/aaa_diameter/dm_impl.c

  Log Message:
  -----------
  aaa_diameter: Fix PKG malloc usage with threads

Avoid using pkg_malloc() in freeDiameter callbacks which can be
concurrently called from various worker threads.  Use a thread-safe
allocation function instead, such as system malloc().

Also restrict the thread-local cJSON SHM hooks to the operations that
require them and remove a redundant protected hash lookup.

Many thanks to Andrii Pogrebennyk from NGVoice for the report and an
initial version of this patch.



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to