Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fd1893f

Browse files
author
Mike McLaughlin
authored
Fix issue #20076 createdump faults. (#20403)
Return E_FAIL instead of S_FALSE from ClrDataFrame::GetLocalSig(). Also issue dotnet/diagnostics#61
1 parent bba9fda commit fd1893f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debug/daccess/stack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ ClrDataFrame::GetLocalSig(MetaSig** sig,
12571257
{
12581258
*sig = NULL;
12591259
*count = 0;
1260-
return S_FALSE;
1260+
return E_FAIL;
12611261
}
12621262

12631263
COR_ILMETHOD_DECODER methodDecoder(m_methodDesc->GetILHeader());
@@ -1267,7 +1267,7 @@ ClrDataFrame::GetLocalSig(MetaSig** sig,
12671267
{
12681268
*sig = NULL;
12691269
*count = 0;
1270-
return S_FALSE;
1270+
return E_FAIL;
12711271
}
12721272

12731273
ULONG tokenSigLen;

0 commit comments

Comments
 (0)