[OpenSIPS-Devel] [OpenSIPS/opensips] 66f998: mid_registrar: Fix unsafe aor->contacts access

Liviu Chircu noreply at github.com
Mon Sep 9 06:46:16 EDT 2019

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 66f99833fbddd7c4ca12b7616356a59647e8b592
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  mid_registrar: Fix unsafe aor->contacts access

In modes 0 and 1, the aor->contacts list was accessed in an unsafe
manner, as the AoR lock would be relinquished too early.  This could
lead to a crash in rare cases.

More information about the Devel mailing list