stun: Use struct sockaddr_storage * for any pointer that we write to
authorOlivier Crête <olivier.crete@collabora.com>
Mon, 31 Mar 2014 22:32:40 +0000 (18:32 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 31 Mar 2014 23:18:16 +0000 (19:18 -0400)
commit972eb35f683bdef31f2607305f10b5c04c653127
tree03771f5079622f290694e732beadfeeacb945a78
parent235455694b37ce3d5346444a7648e06c4bcdc0fb
stun: Use struct sockaddr_storage * for any pointer that we write to

Some platforms have a larger alignment requirement for struct sockaddr_* than
for plain struct sockaddr, in that case, we need to make sure that the incoming pointer
has the right alignement before taking it in.
19 files changed:
agent/conncheck.c
socket/turn.c
stun/stunmessage.c
stun/stunmessage.h
stun/tests/test-bind.c
stun/tests/test-conncheck.c
stun/tests/test-format.c
stun/tests/test-parse.c
stun/tools/stunbdc.c
stun/tools/stund.c
stun/usages/bind.c
stun/usages/bind.h
stun/usages/ice.c
stun/usages/ice.h
stun/usages/turn.c
stun/usages/turn.h
stun/utils.c
stun/utils.h
tests/test-new-dribble.c