summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/hash.cpp')
-rw-r--r--src/lib/util/hash.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/hash.cpp b/src/lib/util/hash.cpp
index 6d7ac9319e3..9ba632240dc 100644
--- a/src/lib/util/hash.cpp
+++ b/src/lib/util/hash.cpp
@@ -279,6 +279,8 @@ std::string hash_collection::attribute_string() const
bool hash_collection::from_internal_string(const char *string)
{
+ assert(string != nullptr);
+
// start fresh
reset();