https://git.reactos.org/?p=reactos.git;a=commitdiff;h=42b94e728a5e4046a4363…
commit 42b94e728a5e4046a4363cea0722625a600a5321
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Mar 2 15:39:25 2021 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Tue Mar 2 15:42:21 2021 +0100
[ADVAPI32] In RegSetValueExW, do not fail if we fault when checking for ending NUL character
---
dll/win32/advapi32/reg/reg.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dll/win32/advapi32/reg/reg.c b/dll/win32/advapi32/reg/reg.c
index b3e08e18907..36aa3b867ae 100644
--- a/dll/win32/advapi32/reg/reg.c
+++ b/dll/win32/advapi32/reg/reg.c
@@ -4933,8 +4933,7 @@ RegSetValueExW(
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- ClosePredefKey(KeyHandle);
- return ERROR_NOACCESS;
+ /* Do not fail if we fault where we were told not to go */
}
_SEH2_END;
}
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7fb6030e0568e952f32a7…
commit 7fb6030e0568e952f32a724e490a0dbad4b0e8f6
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Mar 2 12:58:21 2021 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Tue Mar 2 14:36:38 2021 +0100
[SDK] Properly put assembly debug info into .debug_frame section
For some reason, the default is to put it into .eh_frame where objcopy & al happily ignore them
---
sdk/include/asm/asm.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sdk/include/asm/asm.inc b/sdk/include/asm/asm.inc
index b3b265ef4f3..d13b06e8ead 100644
--- a/sdk/include/asm/asm.inc
+++ b/sdk/include/asm/asm.inc
@@ -235,6 +235,9 @@ ENDM
/* Force intel syntax */
.intel_syntax noprefix
+/* Put dwarf debug info in the .dwarf_debug section, which will be properly stripped */
+.cfi_sections .debug_frame
+
.altmacro
/* Explicit radix in GAS syntax */