]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We should always have list head pointer values now Closes #3889
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Jan 2021 10:40:00 +0000 (10:40 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Jan 2021 10:40:09 +0000 (10:40 +0000)
src/lib/util/pair.h

index 63965cd90acad6f89f72409a27ffad91a2a2a51f..99b62f60decc3c6c2a8d7c2a4928816ebe9c14bd 100644 (file)
@@ -42,11 +42,7 @@ extern "C" {
  *     so we can add some sneaky soft asserts.
  */
 #  define VP_VERIFY(_x)                fr_cond_assert(_x)
-/*
- *     We don't assert the list head is non-NULL, as it's perfectly
- *     valid to have an empty list.
- */
-#  define LIST_VERIFY(_x)
+#  define LIST_VERIFY(_x)      fr_cond_assert(_x)
 #endif
 
 /** The type of value a fr_pair_t contains