[thin_repair] Fix segfault with metadata containing loops (bz1853241)

'seen' bit was being set too late.
This commit is contained in:
Joe Thornber 2020-07-02 10:51:10 +01:00
parent fe754d81a4
commit a407c831df

View File

@ -614,8 +614,8 @@ namespace {
return it->second;
} else {
node_info info = get_info_(b);
examined_[b] = true;
node_info info = get_info_(b);
if (!failed(info))
infos_.insert(make_pair(b, info));