mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 00:56:43 +00:00
- Thomas Weidenmuller: Fix calculating the string offset.
- Fixes bug 1475: Taskmanager shows mumbojumbo in the process name column svn path=/trunk/; revision=21989
This commit is contained in:
parent
de8db05f3a
commit
da398bc3c0
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ QSI_DEF(SystemProcessInformation)
|
|||
}
|
||||
|
||||
// size of the structure for every process
|
||||
curSize = sizeof(SYSTEM_PROCESS_INFORMATION)-sizeof(SYSTEM_THREAD_INFORMATION)+sizeof(SYSTEM_THREAD_INFORMATION)*nThreads;
|
||||
curSize = sizeof(SYSTEM_PROCESS_INFORMATION)+sizeof(SYSTEM_THREAD_INFORMATION)*nThreads;
|
||||
ovlSize += curSize+inLen;
|
||||
|
||||
if (ovlSize > Size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue