mirror of
https://github.com/reactos/reactos.git
synced 2026-09-13 13:18:33 +08:00
c47af2fcdf0e292abf42ec098f01f7e4baed1dbf
Add assertions to this function, to make sure PFN access is always valid (previous code would sometimes KEBUGCHECK(0) without a real explenation if such cases were encounted -- but developers randomly chose which functions would be protected). Also, since PFNs are 0-based, do allow Pfn == MmPageArraySize if someone is reading the last PFN on the system. Finally, protect some of the functions which were accessing the PFN entries outside the PFN list lock. svn path=/trunk/; revision=32365
Languages
C
86.5%
C++
10.6%
Python
0.8%
Assembly
0.5%
CMake
0.5%
Other
0.8%