]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_unistim: Fix memcpy in get_to_address 61/3261/2
authorGeorge Joseph <gjoseph@digium.com>
Wed, 22 Jun 2016 15:37:23 +0000 (09:37 -0600)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jul 2016 12:34:41 +0000 (07:34 -0500)
commit2d1e655844c47c5fb03809ee0924454ac4d93bc3
tree529960a4b72904fa58a2e27fde00d1292167a0a4
parentabe901e682b8b947d2beb03e757d7c94a5f5041b
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
(cherry picked from commit de169f14e6885934a0ebcdf7564eeb1e6fe99a21)
channels/chan_unistim.c