[OpenSIPS-Devel] [OpenSIPS/opensips] a97090: siprec: fix failover crash

Răzvan Crainea noreply at github.com
Fri Jul 5 12:42:38 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a970903c113b47c152c0077689c70faa2a1816cf
      https://github.com/OpenSIPS/opensips/commit/a970903c113b47c152c0077689c70faa2a1816cf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M modules/siprec/siprec_logic.c
    M modules/siprec/siprec_logic.h
    M modules/siprec/siprec_sess.c

  Log Message:
  -----------
  siprec: fix failover crash

When a failover happens, the initial_sdp is no longer available, hence
the module crashes when trying to use it. This fix makes sure that the
initial_sdp is not released, so that sequential failover can catch and
use them.

Many thanks to Farzaneh Soltanzadeh (@Fr-Soltanzadeh on GitHub) for
reporting it in #3421 and trying to fix it in #3425.
Fix #3421
Close #3425



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list