[OpenSIPS-Devel] [OpenSIPS/opensips] ddbff5: dialog: Fix unsafe profile linker handling

Liviu Chircu noreply at github.com
Thu Sep 26 12:55:45 EDT 2019

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ddbff50033fb8701ec3a0bdc189be75a44558639
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-26 (Thu, 26 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  dialog: Fix unsafe profile linker handling

Once a profile linker is attached to dlg->profile_links, it _must not_
be touched anymore, as it can be freed at any moment (e.g. within a
simultaneous processing of dialog CREATE + DELETE bin packets).

Many thanks to 46Labs for uncovering this bug and for supporting the fix

More information about the Devel mailing list