[Asterisk-code-review] res_pjsip_history.c: Fix to stop SIGSEGV when IPv6 addresses are enco... (asterisk[master])

Sean Bright asteriskteam at digium.com
Sat May 9 10:54:57 CDT 2020


Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14403 )

Change subject: res_pjsip_history.c: Fix to stop SIGSEGV when IPv6 addresses are encountered.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/c/asterisk/+/14403/1/res/res_pjsip_history.c 
File res/res_pjsip_history.c:

https://gerrit.asterisk.org/c/asterisk/+/14403/1/res/res_pjsip_history.c@a67 
PS1, Line 67: 	pj_sockaddr_in src;
Would changing `pj_sockaddr_in` to `pj_sockaddr` do the same thing without introducing the union?



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14403
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Id65bb9aa961e9ecbcb500815e18170f774e34d3e
Gerrit-Change-Number: 14403
Gerrit-PatchSet: 1
Gerrit-Owner: Roger James <roger at beardandsandals.co.uk>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Sat, 09 May 2020 15:54:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200509/eb1fe384/attachment-0001.html>


More information about the asterisk-code-review mailing list