#7833 UB: member call on null pointer when --dumping configuration with unknown value

This commit is contained in:
amai2012 2016-11-28 18:19:19 +01:00
parent 36d12d7866
commit f66e7fb379
1 changed files with 2 additions and 1 deletions

View File

@ -3898,6 +3898,7 @@ void Tokenizer::dump(std::ostream &out) const
out << " </tokenlist>" << std::endl;
_symbolDatabase->printXml(out);
if (list.front())
list.front()->printValueFlow(true, out);
}