[NTOS:PS]
authorDmitry Chapyshev <dmitry@reactos.org>
Thu, 1 Sep 2016 22:38:25 +0000 (22:38 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Thu, 1 Sep 2016 22:38:25 +0000 (22:38 +0000)
commit24834c0492dd79dfa21df878104ad7cb15d826b8
treea44528b4fd48f9373af9325e35ef0a7f1345bf96
parente72b567d4e172bf92ece48aea3920454e691c36b
[NTOS:PS]
- Use ProbeForRead instead ProbeForWrite (ProbeForWrite is a behavior which was in win2000)
- Set returned length after checking buffer size (ntdll_apitest NtQueryInformationProcess has tests only for ProcessTimes, but I checked other cases and always Length is set after check of the size)

* Fixes 4 tests in ntdll_apitest NtQueryInformationProcess (all NtQueryInformationProcess tests passed now)

svn path=/trunk/; revision=72532
reactos/ntoskrnl/ps/query.c