Index: net/quic/quic_packet_creator.cc |
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc |
index efaf1136b216def9ec307c27c8cced55c339841a..07815219fd5d5931b9e583084b09d99f865a9c25 100644 |
--- a/net/quic/quic_packet_creator.cc |
+++ b/net/quic/quic_packet_creator.cc |
@@ -278,7 +278,7 @@ void QuicPacketCreator::CopyToBuffer(QuicIOVector iov, |
const char* src = static_cast<char*>(iov.iov[iovnum].iov_base) + iov_offset; |
while (true) { |
- memmove(buffer, src, copy_len); |
+ memcpy(buffer, src, copy_len); |
length -= copy_len; |
buffer += copy_len; |
if (length == 0 || ++iovnum >= iov.iov_count) { |