From 3ccf0c97cfb188bb5be7561726ea2e86a3d023bf Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 16 Dec 2019 18:40:55 -0500 Subject: [PATCH] The mitigation was bogus, fix it so it works Former-commit-id: c7f1e069bf7e7b6f5321f920af9a0ed80f3853b0 --- src/semiorderedset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/semiorderedset.h b/src/semiorderedset.h index e710c4cec..4873c2c89 100644 --- a/src/semiorderedset.h +++ b/src/semiorderedset.h @@ -132,8 +132,8 @@ public: { setiter itr(itrStart); - if (itrStart.set == this) // really if this case isn't true its probably a bug - itr = itrStart; // but why crash the program when we can easily fix this? + if (itrStart.set != this) // really if this case isn't true its probably a bug + itr.set = this; // but why crash the program when we can easily fix this? fPauseRehash = true; if (itr.idxPrimary >= m_data.size())