20 Jun
2019
20 Jun
'19
9:47 a.m.
On Wed, Jun 19, 2019 at 02:01:23PM +0200, Rémi Bernon wrote:
@@ -1288,7 +1290,8 @@ static void test_NtMapViewOfSection(void) ptr2 = NULL; size = 0; status = pNtMapViewOfSection( mapping, hProcess, &ptr2, 22, 0, &offset, &size, 1, 0, PAGE_READWRITE ); - ok( status == STATUS_INVALID_PARAMETER_4, "NtMapViewOfSection returned %x\n", status ); + ok( status == STATUS_INVALID_PARAMETER_4 || status == STATUS_INVALID_PARAMETER, + "NtMapViewOfSection returned %x\n", status ); if (status == STATUS_SUCCESS) { status = pNtUnmapViewOfSection( hProcess, ptr2 );
Since [2/6] will need a change, I'll bring this up here. The if block here could be removed since it's unused. Huw.