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

Changed source and destination address fields in struct
pjsip_history_entry so that they are long enough to hold an IPv6
address.

ASTERISK-28854

Change-Id: Id65bb9aa961e9ecbcb500815e18170f774e34d3e
13.34
Roger James 5 years ago committed by Kevin Harwell
parent 377f5b6992
commit 3df1b65dd0

@ -66,9 +66,9 @@ struct pjsip_history_entry {
/*! \brief Time the packet was transmitted/received */
struct timeval timestamp;
/*! \brief Source address */
pj_sockaddr_in src;
pj_sockaddr src;
/*! \brief Destination address */
pj_sockaddr_in dst;
pj_sockaddr dst;
/*! \brief Memory pool used to allocate \c msg */
pj_pool_t *pool;
/*! \brief The actual SIP message */

Loading…
Cancel
Save