mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
A free Windows-compatible Operating System - mirrored from GitHub
0089446cc6
on the list. This makes the registry, and dll loading case insensitive when we are on a case preserving filesystem. ntoskrnl/ex/power.c: My own contributions to the poweroff message list. ntoskrnl/mm/npool.c: Fixed bit-rot in whole page alloc. That's how i found the bug below. se/semgr.c, lib/rtl/sd.c: semgr, when creating a SECURITY_DESCRIPTOR, anded the PRESENT and DEFAULT flags rather than oring them for group, dacl, and sacl, leading to RtlLengthSecurityDescriptor giving the wrong length to sdcache. When sdcache would copy the security descriptor, it would be too short, and the bound check from the whole-page allocator would go off. I fixed this and made rtl/sd.c use the ROUND_UP macro and RtlLengthSid. This is cleaner. It may not be completely correct yet but it no-longer truncates security descriptors into the cache, which means that the Owner, Group and etc SIDs should now actually work right when coming from the cache, no matter what happens in the heap. They probably seemed to work before simply because they trashed the ends of their blocks and never moved in the cache. svn path=/trunk/; revision=11040 |
||
---|---|---|
freeldr | ||
msvc6 | ||
os2 | ||
posix | ||
reactos | ||
rosapps |