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

2024-02-09 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4efc482fc1fa1c518357e6b47a0cc1ee15e25cd1
  
https://github.com/OpenSIPS/opensips/commit/4efc482fc1fa1c518357e6b47a0cc1ee15e25cd1
  Author: Razvan Crainea 
  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!



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b7c7a9: rtp_relay: clear established when sess is deleted

2024-02-09 Thread Răzvan Crainea
  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b7c7a9afc6c3010bf84a89f57c05deff18581c6f
  
https://github.com/OpenSIPS/opensips/commit/b7c7a9afc6c3010bf84a89f57c05deff18581c6f
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  ---
  rtp_relay: clear established when sess is deleted

This avoids crashes when ctx->established pointer remains dangling

Many thanks to Voxtronic for spotting this issue!

(cherry picked from commit 9600ae72d74ed3d7c7a3bf9655dc4e578ea5d3af)


  Commit: 3e1d9ed3f6831715e62e994d76981b97c4e93204
  
https://github.com/OpenSIPS/opensips/commit/3e1d9ed3f6831715e62e994d76981b97c4e93204
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

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

  Log Message:
  ---
  siprec: avoid double unref for failed transaction

Many thanks to Voxtronic for reporting this!

(cherry picked from commit 28ea0565cabdbd703ddaab9351628aad43e03775)


Compare: 
https://github.com/OpenSIPS/opensips/compare/22a151d8d77f...3e1d9ed3f683

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 28ea05: siprec: avoid double unref for failed transaction

2024-02-09 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 28ea0565cabdbd703ddaab9351628aad43e03775
  
https://github.com/OpenSIPS/opensips/commit/28ea0565cabdbd703ddaab9351628aad43e03775
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

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

  Log Message:
  ---
  siprec: avoid double unref for failed transaction

Many thanks to Voxtronic for reporting this!


  Commit: 9600ae72d74ed3d7c7a3bf9655dc4e578ea5d3af
  
https://github.com/OpenSIPS/opensips/commit/9600ae72d74ed3d7c7a3bf9655dc4e578ea5d3af
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  ---
  rtp_relay: clear established when sess is deleted

This avoids crashes when ctx->established pointer remains dangling

Many thanks to Voxtronic for spotting this issue!


Compare: 
https://github.com/OpenSIPS/opensips/compare/1a38989d2709...9600ae72d74e

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 202a9c: rtp_relay: clear established when sess is deleted

2024-02-09 Thread Răzvan Crainea
  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 202a9c705920f5ece0153e8e1a7e52942ecfd6dc
  
https://github.com/OpenSIPS/opensips/commit/202a9c705920f5ece0153e8e1a7e52942ecfd6dc
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  ---
  rtp_relay: clear established when sess is deleted

This avoids crashes when ctx->established pointer remains dangling

Many thanks to Voxtronic for spotting this issue!

(cherry picked from commit 9600ae72d74ed3d7c7a3bf9655dc4e578ea5d3af)


  Commit: 9846f997976a00ef835ae9ecb2de95304f4f4a13
  
https://github.com/OpenSIPS/opensips/commit/9846f997976a00ef835ae9ecb2de95304f4f4a13
  Author: Razvan Crainea 
  Date:   2024-02-09 (Fri, 09 Feb 2024)

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

  Log Message:
  ---
  siprec: avoid double unref for failed transaction

Many thanks to Voxtronic for reporting this!

(cherry picked from commit 28ea0565cabdbd703ddaab9351628aad43e03775)


Compare: 
https://github.com/OpenSIPS/opensips/compare/7edd325869d2...9846f997976a

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel