commit | b6f4df8626f2ba311566466c01cc8c18ccf40392 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Wed Aug 25 09:03:09 2010 -0700 |
committer | David 'Digit' Turner <digit@android.com> | Wed Aug 25 09:03:09 2010 -0700 |
tree | c79cd25ab40076d12e9b9077c6ef4a4f073e0412 | |
parent | b2438402d16ee4a0bb4b077d0ad0ef1d82b2a08c [diff] |
Fix stack-smashing when using IPv6 sockets in the networking code. struct sockaddr is not enough, and struct sockaddr_storage is not portable, so redefine our own union to deal with the problem correctly. Change-Id: Ib250da3e7bafef2d05c060ea61272720576994cb