]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_unistim: Fix memcpy in get_to_address 73/3073/2
authorGeorge Joseph <gjoseph@digium.com>
Wed, 22 Jun 2016 15:37:23 +0000 (09:37 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 22 Jun 2016 18:32:08 +0000 (13:32 -0500)
commitde169f14e6885934a0ebcdf7564eeb1e6fe99a21
treedfbafde02f60500bec49f5e3b67306d9f848f419
parentff2573bc3a71abddee79914cc88bb2f09fdf2ec4
chan_unistim:  Fix memcpy in get_to_address

A code block only enabled when HAVE_PKTINFO is not defined (FreeBSD)
was using a pointer to a pointer as the destination of a memcpy and a
'&' instead of '*' in the sizeof.

ASTERISK-26138 #close

Change-Id: Id4927ff256c0e470bdf7bcfc025146a2f656e708
channels/chan_unistim.c