diff --git a/sandbox/win/src/target_interceptions.cc b/sandbox/win/src/target_interceptions.cc index 5da25c54442625..7ea741c6c18fe4 100644 --- a/sandbox/win/src/target_interceptions.cc +++ b/sandbox/win/src/target_interceptions.cc @@ -98,6 +98,7 @@ TargetNtMapViewOfSection(NtMapViewOfSectionFunction orig_MapViewOfSection, if (!agent->OnDllLoad(file_name, module_name, *base)) { // Interception agent is demanding to un-map the module. g_nt.UnmapViewOfSection(process, *base); + *base = nullptr; ret = STATUS_UNSUCCESSFUL; } }