[Asterisk-code-review] chan unistim: Fix memcpy with sizeof(&toAddr) (asterisk[11])
Richard Mudgett
asteriskteam at digium.com
Wed Jun 22 12:56:27 CDT 2016
Richard Mudgett has posted comments on this change.
Change subject: chan_unistim: Fix memcpy with sizeof(&toAddr)
......................................................................
Patch Set 1: Code-Review-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?
Yes it should.
--
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: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list