| Index: content/utility/utility_main.cc
|
| diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc
|
| index 60a5d27c159304c6d5a4ec85f89bbcd284acc797..742a476963092b4a6e084c2186d229f6ff79154d 100644
|
| --- a/content/utility/utility_main.cc
|
| +++ b/content/utility/utility_main.cc
|
| @@ -47,6 +47,12 @@
|
| parameters.sandbox_info->target_services;
|
| if (!target_services)
|
| return false;
|
| +#if defined(ADDRESS_SANITIZER)
|
| + // Bind and leak dbghelp.dll before the token is lowered, otherwise
|
| + // AddressSanitizer will crash when trying to symbolize a report.
|
| + if (!LoadLibraryA("dbghelp.dll"))
|
| + return false;
|
| +#endif
|
| char buffer;
|
| // Ensure RtlGenRandom is warm before the token is lowered; otherwise,
|
| // base::RandBytes() will CHECK fail when v8 is initialized.
|
|
|