[OpenSIPS-Devel] [OpenSIPS/opensips] 181c2d: mid_registrar: Fix possible crash in mode == 2

Liviu Chircu noreply at github.com
Wed Mar 20 11:49:08 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 181c2d22fc612a9120c8f833112a500d155c2dea
      https://github.com/OpenSIPS/opensips/commit/181c2d22fc612a9120c8f833112a500d155c2dea
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix possible crash in mode == 2

It seems commit d8fe587cef17 broke the handling for non-star
de-registrations which remove the last standing contact, causing replies
from the main registrar to not include a "Contact" header field.  The
latter, in itself, is perfectly fine -- however, it must be handled
properly.

(cherry picked from commit d4f023e8da8fc6bda92b4d4aa8e58cde0282ee67)





More information about the Devel mailing list