summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--tests/unit/core/test-core-hdata.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index cb6303347..18ec8ab2c 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -25,6 +25,7 @@ Bug fixes::
Tests::
+ * core: fix hdata tests failure on Alpine 3.18
* relay: fix crash in tests on Alpine 3.18
Build::
diff --git a/tests/unit/core/test-core-hdata.cpp b/tests/unit/core/test-core-hdata.cpp
index 941582ebb..40a874818 100644
--- a/tests/unit/core/test-core-hdata.cpp
+++ b/tests/unit/core/test-core-hdata.cpp
@@ -526,7 +526,7 @@ TEST_GROUP(CoreHdataWithList)
item->test_string = strdup ("item2");
item->test_string2 = strdup ("string2");
item->test_string3 = NULL;
- ptr_item1->test_string_null = NULL;
+ item->test_string_null = NULL;
item->test_shared_string = string_shared_get ("item2_shared");
strcpy (item->test_array_2_words_fixed_size[0], "item2-word1");
strcpy (item->test_array_2_words_fixed_size[1], "item2-word2");