#7833 UB: member call on null pointer when --dumping configuration with unknown value
This commit is contained in:
parent
36d12d7866
commit
f66e7fb379
|
@ -3898,6 +3898,7 @@ void Tokenizer::dump(std::ostream &out) const
|
||||||
out << " </tokenlist>" << std::endl;
|
out << " </tokenlist>" << std::endl;
|
||||||
|
|
||||||
_symbolDatabase->printXml(out);
|
_symbolDatabase->printXml(out);
|
||||||
|
if (list.front())
|
||||||
list.front()->printValueFlow(true, out);
|
list.front()->printValueFlow(true, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue