reactos/ntoskrnl
jimtabor b784074c2f [0.4.13][WIN32SS][RTL] Fix regression CORE-16769 + BSOD CORE-13907 & CORE-14857
Thanks to Jim Tabor, Mark Jansen & Thomas Faber
By squashed backmerge of the following commits:
--------------
[NTUSER] Fix Strings and Format to Hooks

Allocate heap instead of data segment to be used for callbacks on user side.
Move and correct initial hook call out setup. Use it in more than one hook call.

This fixes issues with strings out of alignment and use of kernel pointers.

See CORE-13907 and CORE-16769. KsStudio still needs retested.

Small wow update.

cherry picked from commit 0.4.14-dev-1287-g
568b6d0558
--------------
[RTL] Introduce RtlpImageNtHeader,
which implements the required functionality.
ntdll and ntoskrnl now have a wrapper for this, with SEH.
This protects the function against malformed / bad images,
whilst still being able to use the code in freeldr et al.
Idea from Thomas.
CORE-14857

cherry picked from commit 0.4.14-dev-1255-g
177ae91bf6
--------------
[WIN32SS] Form Sanity to Hook Callbacks

Fix WH_CALLWNDPROC/RET data to user hook calls. See CORE-13019 and CORE-13907.

cherry picked from commit 0.4.14-dev-1241-g
915a5764a9
--------------
[USER32] Fix null return.

See CORE-16769.

cherry picked from commit 0.4.14-dev-1240-g
d8add40e89
2020-04-03 14:51:10 +02:00
..
cache [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
cc [NTOS:CC] CcWriteVirtualAddress(): Do not round 'Size' 2019-07-01 21:30:25 +02:00
config [NTOSKRNL] Disable LUID mapping until it's properly implemented 2019-06-01 14:40:54 +02:00
dbgk [NTOS:MM] Fix MmGetFileNameForAddress() callers. (#1723) 2019-07-14 00:32:23 +02:00
ex [NTOSKRNL] Implement NtQuerySystemInformation(SystemLogicalProcessorInformation) 2019-09-27 20:36:59 +02:00
fsrtl [FASTFAT][FLTMGR][NTOS] Do not explicitly call ObfDereferenceObject() (#1636) 2019-06-22 16:20:58 +02:00
fstub [NTOS:FSTUB] Unfix format string warning until GUID definition is fixed. 2019-03-25 22:40:41 +01:00
inbv [0.4.13] Happy New Year 2020 to everyone!! 2020-02-16 17:12:56 +01:00
include [0.4.13][NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release CORE-16777 2020-03-30 18:08:57 +02:00
io [NTOS:PNP] When traversing the device tree, keep a reference to the current device. CORE-15874 2019-09-26 10:26:10 +02:00
kd [NTOS:KD] Remove some _WINDK_ usages 2019-05-23 11:04:40 +02:00
kd64 [NTOSKRNL] Round memory size up, "debug log" part 2018-08-07 20:36:04 +02:00
kdbg [0.4.13] Revert "[NTOS:KDBG] Use CONTEXT instead of KTRAP_FRAME" CORE-16231 2019-10-19 00:55:31 +02:00
ke [0.4.13] Revert 3 [NTOS:KE] commits to avoid regression CORE-16448 2019-11-03 17:36:40 +01:00
lpc [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
mm [0.4.13][NTOSKRNL] Workaround CORE-16387 & CORE-16449 2019-12-17 00:06:05 +01:00
ntkrnlmp Merge pull request #1335 from ariscop/CMP0065 2019-02-03 12:57:20 +01:00
ob [NTOSKRNL] Handle symlink parsing when it's bound to a specific object 2019-08-19 10:45:50 +02:00
po [0.4.13][NTOSKRNL][INBV] Fix IDB_SHUTDOWN_MSG position CORE-16342 2019-12-02 23:42:51 +01:00
ps [NTOSKRNL][PS] Implement NtQueueApcThreadEx and use it in NtQueueApcThread 2019-08-15 12:32:09 +02:00
rtl [0.4.13][WIN32SS][RTL] Fix regression CORE-16769 + BSOD CORE-13907 & CORE-14857 2020-04-03 14:51:10 +02:00
se [NTOSKRNL] Implement SeRegisterLogonSessionTerminatedRoutine() and SeUnregisterLogonSessionTerminatedRoutine(). 2019-08-04 14:01:26 +02:00
tests Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
vdm [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
vf Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
wmi [FASTFAT][FLTMGR][NTOS] Do not explicitly call ObfDereferenceObject() (#1636) 2019-06-22 16:20:58 +02:00
CMakeLists.txt [0.4.13][NTOSKRNL] Restore section layout to fix BSOD regression CORE-14683 2019-11-30 14:10:17 +01:00
guid.c [NTOSKRNL] Initialize GUID_DEVICE_BATTERY properly 2019-04-08 21:19:57 +02:00
KrnlFun.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ntdll.S Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ntos.cmake [NTOSKRNL] Move KDBG MM functions implementation to their own file 2019-01-06 22:50:57 +01:00
ntoskrnl.rc [NTOS:INBV] Refactor boot screen code and resources (#1649) 2019-08-20 01:52:25 +02:00
ntoskrnl.spec Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
sysfuncs.lst Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00