[Asterisk-code-review] chan unistim: Fix memcpy with sizeof(&toAddr) (asterisk[11])

Mark Michelson asteriskteam at digium.com
Wed Jun 22 10:46:16 CDT 2016


Mark Michelson has posted comments on this change.

Change subject: chan_unistim:  Fix memcpy with sizeof(&toAddr)
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/3073/1/channels/chan_unistim.c
File channels/chan_unistim.c:

Line 987: 	memcpy(&toAddr, &public_ip, sizeof(*toAddr));
Should the first argument to memcpy be just toAddr and not &toAddr?


-- 
To view, visit https://gerrit.asterisk.org/3073
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id4927ff256c0e470bdf7bcfc025146a2f656e708
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list