[OpenSIPS-Devel] [OpenSIPS/opensips] 4b2123: rtp_relay: proper cleanup of a copy context

Răzvan Crainea noreply at github.com
Thu Feb 22 08:45:43 UTC 2024


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b212321ec882db942caf6c5ffa1800297d1ab8b
      https://github.com/OpenSIPS/opensips/commit/4b212321ec882db942caf6c5ffa1800297d1ab8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M modules/rtp_relay/rtp_relay.h
    M modules/rtp_relay/rtp_relay_ctx.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtp_relay: proper cleanup of a copy context

When a copy context was deleted, a dangling pointer would have remained
in the session - this would lead to a crash, since it would access
invalid memory.

Thanks go to Rob Moore from Dubber for reporting this!

(cherry picked from commit 4efc482fc1fa1c518357e6b47a0cc1ee15e25cd1)



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



More information about the Devel mailing list