Author: pschweitzer
Date: Sun Apr 27 18:35:46 2014
New Revision: 63022
URL:
http://svn.reactos.org/svn/reactos?rev=63022&view=rev
Log:
[PSAPI]
Fix pointer arithmetic
CID #1206924
Modified:
trunk/reactos/dll/win32/psapi/psapi.c
Modified: trunk/reactos/dll/win32/psapi/psapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/psapi/psapi.c?re…
==============================================================================
--- trunk/reactos/dll/win32/psapi/psapi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/psapi/psapi.c [iso-8859-1] Sun Apr 27 18:35:46 2014
@@ -1381,7 +1381,7 @@
if (Colon != 0 && Colon != PageFileInfo->PageFileName.Buffer)
{
/* We can call the user callback routine with the colon */
- Colon -= sizeof(WCHAR);
+ --Colon;
pCallbackRoutine(lpContext, &Information, Colon);
}