fix undefined strcpy call in inet_ntop
authorRich Felker <dalias@aerifal.cx>
Thu, 25 Jul 2013 07:30:24 +0000 (03:30 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 25 Jul 2013 07:30:24 +0000 (03:30 -0400)
commitf9dd79c8d191a8a5356d146c7ccf956677fea4e9
tree92eaf4837f391bd1c6f0e085f65c0606eea669d3
parent1cd417bdf10366d63cc875e285c6418709a58c17
fix undefined strcpy call in inet_ntop

source and dest arguments for strcpy cannot overlap, so memmove must
be used here. the length is already known from the above loop.
src/network/inet_ntop.c