https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81d58bcf06d48943968c3934150bea863ae375f0

commit 81d58bcf06d48943968c3934150bea863ae375f0
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Fri Feb 3 15:33:16 2023 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Mon Apr 17 00:41:31 2023 +0300

    [NTDLL_APITEST] Fix a test for NtMapViewOfSection
---
 modules/rostests/apitests/ntdll/NtMapViewOfSection.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/rostests/apitests/ntdll/NtMapViewOfSection.c 
b/modules/rostests/apitests/ntdll/NtMapViewOfSection.c
index 4a6e187a08b..9c1b85d88e5 100644
--- a/modules/rostests/apitests/ntdll/NtMapViewOfSection.c
+++ b/modules/rostests/apitests/ntdll/NtMapViewOfSection.c
@@ -1553,7 +1553,7 @@ static struct _RAW_SIZE_IMAGE_FILE
             4, /* MajorSubsystemVersion */
             0, /* MinorSubsystemVersion */
             0, /* Win32VersionValue */
-            0x5000, /* SizeOfImage */
+            0x6000, /* SizeOfImage */
             0x400, /* SizeOfHeaders */
             0x0, /* CheckSum */
             IMAGE_SUBSYSTEM_WINDOWS_CUI, /* Subsystem */
@@ -1818,8 +1818,8 @@ Test_RawSize(ULONG TestNumber)
             ok_hex(ImageFile->zdata_header.SizeOfRawData, 
RawSizeImageFile.zdata_header.SizeOfRawData);
             ok_hex(ImageFile->zdata_header.PointerToRawData, 0);
 
-            /* PointerToRawData = 0 resets SizeOfRawData to 0, CORE-18797 */
-            ok_hex(ImageFile->bss_header.SizeOfRawData, 0);
+            /* .bss section is unmodified */
+            ok_hex(ImageFile->bss_header.SizeOfRawData, 0x600);
             ok_hex(ImageFile->bss_header.PointerToRawData, 0);
 
 #define TEST_BYTE(n, v) \

Reply via email to