projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff31610
)
[RTL]
author
Thomas Faber
<thomas.faber@reactos.org>
Wed, 2 Sep 2015 05:38:02 +0000
(
05:38
+0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Wed, 2 Sep 2015 05:38:02 +0000
(
05:38
+0000)
- Fix check for optional parameters in RtlGetCallersAddress
svn path=/trunk/; revision=68909
reactos/lib/rtl/i386/except.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/i386/except.c
b/reactos/lib/rtl/i386/except.c
index
bef11af
..
ab465eb
100644
(file)
--- a/
reactos/lib/rtl/i386/except.c
+++ b/
reactos/lib/rtl/i386/except.c
@@
-31,7
+31,7
@@
RtlGetCallersAddress(OUT PVOID *CallersAddress,
FrameCount = RtlCaptureStackBackTrace(2, 2, &BackTrace[0],BackTraceHash);
/* Only if user want it */
- if (
*
CallersAddress != NULL)
+ if (CallersAddress != NULL)
{
/* only when first frames exist */
if (FrameCount >= 1)
@@
-45,7
+45,7
@@
RtlGetCallersAddress(OUT PVOID *CallersAddress,
}
/* Only if user want it */
- if (
*
CallersCaller != NULL)
+ if (CallersCaller != NULL)
{
/* only when second frames exist */
if (FrameCount >= 2)