Skip to content

Commit

Permalink
i#6570: Ignore bcrypt.dll init failure (#6571)
Browse files Browse the repository at this point in the history
A recent Windows update caused the bcrypt.dll process init routine to
fail. This made the unit_tests and client.loader tests fail. For now we
ignore the failure which so far has no harmful visible side effects.

Fixes #6570
  • Loading branch information
derekbruening authored Jan 19, 2024
1 parent d44d486 commit 0839465
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/win32/loader.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* **********************************************************
* Copyright (c) 2011-2021 Google, Inc. All rights reserved.
* Copyright (c) 2011-2024 Google, Inc. All rights reserved.
* Copyright (c) 2009-2010 Derek Bruening All rights reserved.
* **********************************************************/

Expand Down Expand Up @@ -1501,7 +1501,11 @@ privload_call_entry(dcontext_t *dcontext, privmod_t *privmod, uint reason)
/* i#2221: combase's entry fails on win10. So far ignoring it
* hasn't cause any problems with simple clients.
*/
str_case_prefix(privmod->name, "combase"))) {
str_case_prefix(privmod->name, "combase") ||
/* i#6570: bcrypt's entry suddenly started failing. Ignoring it
* is working so far; if that changes we'll have to dig into it.
*/
str_case_prefix(privmod->name, "bcrypt"))) {
LOG(GLOBAL, LOG_LOADER, 1, "%s: ignoring failure of %s entry\n", __FUNCTION__,
privmod->name);
res = TRUE;
Expand Down

0 comments on commit 0839465

Please sign in to comment.