Commit e1610d0f authored by Martin Marinov's avatar Martin Marinov

Fix a bug where File::start() can dereference a nullptr

parent 38a79808
...@@ -163,7 +163,9 @@ void File::start() ...@@ -163,7 +163,9 @@ void File::start()
if (!line_strt_) if (!line_strt_)
line_break(false); // make sure we start on a new line with this line_break(false); // make sure we start on a new line with this
bffr_->append("*>"); // .txt call stack lead in // lead in for the debug output file only
print('*', false);
print('>', false);
CallStack::query().append(*bffr_); CallStack::query().append(*bffr_);
line_break(false); // make sure we start on a new line after this line_break(false); // make sure we start on a new line after this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment