Author: tfaber Date: Wed Sep 2 05:38:02 2015 New Revision: 68909
URL: http://svn.reactos.org/svn/reactos?rev=68909&view=rev Log: [RTL] - Fix check for optional parameters in RtlGetCallersAddress
Modified: trunk/reactos/lib/rtl/i386/except.c
Modified: trunk/reactos/lib/rtl/i386/except.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/i386/except.c?rev=6... ============================================================================== --- trunk/reactos/lib/rtl/i386/except.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/i386/except.c [iso-8859-1] Wed Sep 2 05:38:02 2015 @@ -31,7 +31,7 @@ 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 @@ }
/* Only if user want it */ - if (*CallersCaller != NULL) + if (CallersCaller != NULL) { /* only when second frames exist */ if (FrameCount >= 2)