[OpenSIPS-Devel] [OpenSIPS/opensips] 812868: evi: Be more compatible with calling code

Liviu Chircu noreply at github.com
Wed Apr 15 20:46:37 EST 2020


  Branch: refs/heads/feature/rfc-8599-sip-pn
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 81286801df4228bf613bbb55b6183f7f244b319d
      https://github.com/OpenSIPS/opensips/commit/81286801df4228bf613bbb55b6183f7f244b319d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M evi/evi_params.c
    M evi/evi_params.h

  Log Message:
  -----------
  evi: Be more compatible with calling code


  Commit: cd3be8c0ca5f925e9816ce95f2b1aff67fb39695
      https://github.com/OpenSIPS/opensips/commit/cd3be8c0ca5f925e9816ce95f2b1aff67fb39695
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M lib/reg/pn.c
    M modules/usrloc/ul_evi.c
    M modules/usrloc/ul_evi.h
    M modules/usrloc/usrloc.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  SIP PN: Rework the async Push Notification support

Although the previous version seemed to work, it was broken
conceptually, since passing a (ucontact_t *) without a ref counting
mechanism may lead to invalid SHM memory access whenever the contact is
freed before the PN job gets to be executed.


Compare: https://github.com/OpenSIPS/opensips/compare/c2616473c193...cd3be8c0ca5f



More information about the Devel mailing list