Mark Jansen
177ae91bf6
[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
2020-03-29 21:27:38 +02:00
Timo Kreuzer
1b70ddd834
[KERNEL32] Improve path name handling
...
Fixes GCC 8 warning:
dll/win32/kernel32/client/loader.c: In function 'LoadLibraryA':
dll/win32/kernel32/client/loader.c:129:17: error: 'strncat' specified bound 13 equals source length [-Werror=stringop-overflow=]
strncat(PathBuffer, "\\twain_32.dll", 13);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-20 13:56:18 +02:00
Pierre Schweitzer
2bd33d58d8
[KERNEL32] Shhhh!
2018-09-01 15:46:44 +02:00
Mark Jansen
9b6fb9f2f8
[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx
...
CORE-14532
CORE-14857
2018-08-13 13:24:12 +02:00
Timo Kreuzer
4f0a158a2f
[KERNEL32] Fix 64 bit issues
2018-08-04 19:19:34 +02:00
Ivan Labutin
d6792047f3
[NTOS][NDK][RTL] A bunch of 'wrong size' fixes
2017-12-20 06:56:09 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00