mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[NTOSKRNL]
Fix symbolic names list bound check in IopCreateArcNamesCd(). Spotted by "msuhanov" CORE-9698 #resolve #comment Fixed in r67747. Thanks! svn path=/trunk/; revision=67747
This commit is contained in:
@@ -253,7 +253,7 @@ IopCreateArcNamesCd(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
for (DiskNumber = 0, EnabledDisks = 0; DiskNumber < CdRomCount; DiskNumber++)
|
||||
{
|
||||
/* Check if we have an enabled disk */
|
||||
if (SymbolicLinkList && *SymbolicLinkList != UNICODE_NULL)
|
||||
if (lSymbolicLinkList && *lSymbolicLinkList != UNICODE_NULL)
|
||||
{
|
||||
/* Create its device name using first symbolic link */
|
||||
RtlInitUnicodeString(&DeviceStringW, lSymbolicLinkList);
|
||||
|
||||
Reference in New Issue
Block a user