[NTUSER]: NtUserGetObjectInformation, nIndex == UOI_FLAGS case:
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 28 Feb 2017 20:49:37 +0000 (20:49 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 28 Feb 2017 20:49:37 +0000 (20:49 +0000)
commitd2f509628143d325d824c7da4206cf3cb933da74
treeae6b2fc2e60c3097150cc6efd9defe02cacedab5
parenteeb292336665543993b30aff935c601444d407ac
[NTUSER]: NtUserGetObjectInformation, nIndex == UOI_FLAGS case:
- Capture the ObjectFlags to be set in a local variable,
- Then copy its contents in the mem area pointed by pvInformation *under the SEH block*! This allows:
  * protection if pvInformation is an invalid pointer;
  * avoid to run the "RtlCopyMemory(pvInformation, pvData, nDataSize);" afterwards with pvData == NULL.

svn path=/trunk/; revision=74005
reactos/win32ss/user/ntuser/winsta.c