mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 17:44:24 +08:00
[RTL]
Prevent buffer overflow on copy: provide the correct copy size CID #731655 svn path=/trunk/; revision=62616
This commit is contained in:
@@ -165,7 +165,7 @@ RtlCopyRangeList(OUT PRTL_RANGE_LIST CopyRangeList,
|
||||
|
||||
RtlCopyMemory(&NewEntry->Range,
|
||||
&Current->Range,
|
||||
sizeof(RTL_RANGE_ENTRY));
|
||||
sizeof(RTL_RANGE));
|
||||
|
||||
InsertTailList(&CopyRangeList->ListHead,
|
||||
&NewEntry->Entry);
|
||||
|
||||
Reference in New Issue
Block a user