[ros-bugs] [Bug 5619] PATCH: epsapi: PsaCaptureSystemModules() noncritical incorrectness

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sat Sep 18 12:39:15 UTC 2010


http://www.reactos.org/bugzilla/show_bug.cgi?id=5619


fireball <fireball at reactos.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from fireball <fireball at reactos.com>  2010-09-18 12:39:15 CET ---
If you look carefully at the structure definition:

typedef struct _RTL_PROCESS_MODULES
{
    ULONG NumberOfModules;
    RTL_PROCESS_MODULE_INFORMATION Modules[1];
} RTL_PROCESS_MODULES, *PRTL_PROCESS_MODULES;

the first ULONG field is actually a number of modules. This way, in the initial
probe the author just request one this specific field. Now, if you insist it's
0 in ReactOS kernel, then it must be a bug in the NtQuerySystemInformation
implementation, which should fill as much buffer as it can, not just bail out
to the user. If it is so, please reopen the bug.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Ros-bugs mailing list