mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +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,
|
RtlCopyMemory(&NewEntry->Range,
|
||||||
&Current->Range,
|
&Current->Range,
|
||||||
sizeof(RTL_RANGE_ENTRY));
|
sizeof(RTL_RANGE));
|
||||||
|
|
||||||
InsertTailList(&CopyRangeList->ListHead,
|
InsertTailList(&CopyRangeList->ListHead,
|
||||||
&NewEntry->Entry);
|
&NewEntry->Entry);
|
||||||
|
|
Loading…
Reference in a new issue