[Asterisk-code-review] res_pjsip: Prevent segfault in UDP registration with flow transports (asterisk[18])

Sean Bright asteriskteam at digium.com
Sat Dec 19 16:45:32 CST 2020


Attention is currently required from: Nick French.
Sean Bright has uploaded a new patch set (#2) to the change originally created by Nick French. ( https://gerrit.asterisk.org/c/asterisk/+/15256 )

Change subject: res_pjsip: Prevent segfault in UDP registration with flow transports
......................................................................

res_pjsip: Prevent segfault in UDP registration with flow transports

Segfault occurs during outbound UDP registration when all
transport states are being iterated over. The transport object
in the transport is accessed, but flow transports have a NULL
transport object.

Modify to not iterate over any flow transport

ASTERISK-29210 #close

Change-Id: If28dc3a18bdcbd0a49598b09b7fe4404d45c996a
---
M res/res_pjsip/pjsip_message_filter.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/56/15256/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15256
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: If28dc3a18bdcbd0a49598b09b7fe4404d45c996a
Gerrit-Change-Number: 15256
Gerrit-PatchSet: 2
Gerrit-Owner: Nick French <naf at ou.edu>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Nick French <nickfrench at gmail.com>
Gerrit-Attention: Nick French <nickfrench at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201219/14183ea2/attachment.html>


More information about the asterisk-code-review mailing list