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

Răzvan Crainea noreply at github.com
Fri Feb 9 10:53:25 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4efc482fc1fa1c518357e6b47a0cc1ee15e25cd1
      https://github.com/OpenSIPS/opensips/commit/4efc482fc1fa1c518357e6b47a0cc1ee15e25cd1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-02-09 (Fri, 09 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!





More information about the Devel mailing list