Skip to content

Commit 22bcf94

Browse files
Merge pull request #111 from AjayBrahmakshatriya/master
Fixed the bug where tracer would try to hash a null static var snapshot
2 parents 3a2cc42 + 6ae4bac commit 22bcf94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/util/tracer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class tag {
8585
// in the base type
8686

8787
for (unsigned i = 0; i < static_var_snapshots.size(); i++) {
88+
if (static_var_snapshots[i] == nullptr) continue;
8889
h = hash_combine(h, static_var_snapshots[i]->computed_hash);
8990
}
9091

0 commit comments

Comments
 (0)