Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4fa00094dd7208472a060ddf50f0484ec7604dde
      
https://github.com/OpenSIPS/opensips/commit/4fa00094dd7208472a060ddf50f0484ec7604dde
  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.

(cherry picked from commit caebd8e068e070eab8b6f34f93bc23cbf5b47273)



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