Author: pschweitzer
Date: Fri May 15 21:08:06 2015
New Revision: 67747
URL:
http://svn.reactos.org/svn/reactos?rev=67747&view=rev
Log:
[NTOSKRNL]
Fix symbolic names list bound check in IopCreateArcNamesCd().
Spotted by "msuhanov"
CORE-9698 #resolve #comment Fixed in r67747. Thanks!
Modified:
trunk/reactos/ntoskrnl/io/iomgr/arcname.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/arcname.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/arcname.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/arcname.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/arcname.c [iso-8859-1] Fri May 15 21:08:06 2015
@@ -253,7 +253,7 @@
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);