mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[RTL]
- Fix check for optional parameters in RtlGetCallersAddress svn path=/trunk/; revision=68909
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user