projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46cb4ed
)
Set the last error in MAPMapPEFile when it fails (#81929)
author
Jeremy Koritzinsky
<jekoritz@microsoft.com>
Fri, 10 Feb 2023 04:01:02 +0000
(20:01 -0800)
committer
GitHub
<noreply@github.com>
Fri, 10 Feb 2023 04:01:02 +0000
(20:01 -0800)
src/coreclr/pal/src/map/map.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/pal/src/map/map.cpp
b/src/coreclr/pal/src/map/map.cpp
index
6583cd2
..
707284b
100644
(file)
--- a/
src/coreclr/pal/src/map/map.cpp
+++ b/
src/coreclr/pal/src/map/map.cpp
@@
-2496,6
+2496,7
@@
done:
}
else
{
+ SetLastError(palError);
retval = NULL;
LOGEXIT("MAPMapPEFile error: %d\n", palError);