diff options
| author | Scott Larson <[email protected]> | 2020-10-09 12:34:01 -0700 |
|---|---|---|
| committer | Scott Larson <[email protected]> | 2020-10-09 12:34:01 -0700 |
| commit | c61953bcd21bb3d5e233168eb16441eba7ba9afd (patch) | |
| tree | b16b9703449153d4133939362741b83c112784d8 /common/src/nx_packet_data_extract_offset.c | |
| parent | fbd7df3e7e1e40086d153166f035c1db5d8751be (diff) | |
6.1 Release
Diffstat (limited to 'common/src/nx_packet_data_extract_offset.c')
| -rw-r--r-- | common/src/nx_packet_data_extract_offset.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/src/nx_packet_data_extract_offset.c b/common/src/nx_packet_data_extract_offset.c index 6e2387a4..813448af 100644 --- a/common/src/nx_packet_data_extract_offset.c +++ b/common/src/nx_packet_data_extract_offset.c @@ -34,7 +34,7 @@ /* FUNCTION RELEASE */ /* */ /* _nx_packet_data_extract_offset PORTABLE C */ -/* 6.0 */ +/* 6.1 */ /* AUTHOR */ /* */ /* Yuxin Zhou, Microsoft Corporation */ @@ -76,6 +76,9 @@ /* DATE NAME DESCRIPTION */ /* */ /* 05-19-2020 Yuxin Zhou Initial Version 6.0 */ +/* 09-30-2020 Yuxin Zhou Modified comment(s), and */ +/* verified memcpy use cases, */ +/* resulting in version 6.1 */ /* */ /**************************************************************************/ UINT _nx_packet_data_extract_offset(NX_PACKET *packet_ptr, ULONG offset, VOID *buffer_start, ULONG buffer_length, ULONG *bytes_copied) @@ -184,7 +187,7 @@ NX_PACKET *working_packet_ptr; } /* Copy data from this packet. */ - memcpy(destination_ptr, source_ptr, bytes_to_copy); + memcpy(destination_ptr, source_ptr, bytes_to_copy); /* Use case of memcpy is verified. */ /* Update the pointers. */ destination_ptr += bytes_to_copy; |
