projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6175044
)
[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
author
Andreas Maier
<staubim@quantentunnel.de>
Thu, 22 Nov 2018 21:14:24 +0000
(22:14 +0100)
committer
Mark Jansen
<mark.jansen@reactos.org>
Fri, 19 Apr 2019 19:09:45 +0000
(21:09 +0200)
Correct last error in module_find_by_addr.
dll/win32/dbghelp/module.c
patch
|
blob
|
history
diff --git
a/dll/win32/dbghelp/module.c
b/dll/win32/dbghelp/module.c
index
0173469
..
aaa0ff6
100644
(file)
--- a/
dll/win32/dbghelp/module.c
+++ b/
dll/win32/dbghelp/module.c
@@
-417,7
+417,7
@@
struct module* module_find_by_addr(const struct process* pcs, DWORD64 addr,
return module;
}
}
return module;
}
}
- SetLastError(ERROR_
INVALID_ADDRESS
);
+ SetLastError(ERROR_
MOD_NOT_FOUND
);
return module;
}
return module;
}