aboutsummaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/container.c b/src/common/container.c
index ffb4ffe49..8021bd19c 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -358,6 +358,8 @@ smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
;
}
+ tor_assert(end);
+
if (!*end) {
next = NULL;
} else if (sep) {