From 9280ea4a36ec3d82559efdd0593315c852ec5689 Mon Sep 17 00:00:00 2001 From: "Peter D. Barnes, Jr." Date: Fri, 3 Nov 2017 17:05:40 -0700 Subject: [PATCH] core: (fixes #2766) Modify int64x64 log to avoid stack overflow --- RELEASE_NOTES | 1 + src/core/model/int64x64.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index d32fd7885..73b3b2926 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -30,6 +30,7 @@ Bugs fixed ---------- - Bug 2505 - network: Avoid asserts in Header/Trailer deserialization - Bug 2764 - wifi: WifiSpectrumModelId doesn't distinguish 11ax from legacy +- Bug 2766 - core: Modify logging for int64x64 to avoid stack overflow Known issues ------------ diff --git a/src/core/model/int64x64.cc b/src/core/model/int64x64.cc index 4da43542c..9d596ce65 100644 --- a/src/core/model/int64x64.cc +++ b/src/core/model/int64x64.cc @@ -37,7 +37,7 @@ namespace ns3 { // Note: Logging in this file is largely avoided due to the // number of calls that are made to these functions and the possibility // of causing recursions leading to stack overflow -NS_LOG_COMPONENT_DEFINE ("int64x64"); +NS_LOG_COMPONENT_DEFINE_MASK ("int64x64", LOG_PREFIX_TIME); /** * \ingroup highprec