]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_unistim: Fix memcpy in get_to_address 71/3071/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:28:58 +0000 (12:28 -0600)
commitbc69b033167c0fe6f2cfb71e39aaa2c73d60fa32
treeb6fa2be6473aff68bd3d23c8f61263aad7a2b4ff
parentd155d8274760b6310abf7bea682036d5356b0e85
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