mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[RTL]
Prevent buffer overflow on copy: provide the correct copy size CID #731655 svn path=/trunk/; revision=62616
This commit is contained in:
parent
b929ccd22f
commit
f71529c32e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue