summaryrefslogtreecommitdiff
path: root/0103-bugfix-add-note.patch
diff options
context:
space:
mode:
Diffstat (limited to '0103-bugfix-add-note.patch')
-rw-r--r--0103-bugfix-add-note.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0103-bugfix-add-note.patch b/0103-bugfix-add-note.patch
new file mode 100644
index 0000000..1cdc42b
--- /dev/null
+++ b/0103-bugfix-add-note.patch
@@ -0,0 +1,25 @@
+From 8eea40e09aa34da85cfa191f07cfe7e123c9809d Mon Sep 17 00:00:00 2001
+From: liuxu <liuxu156@huawei.com>
+Date: Wed, 5 Jun 2024 10:18:06 +0800
+Subject: [PATCH 103/108] bugfix:add note
+
+Signed-off-by: liuxu <liuxu156@huawei.com>
+---
+ src/utils/cutils/utils_array.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/utils/cutils/utils_array.h b/src/utils/cutils/utils_array.h
+index 0c4fd217..553c2c13 100644
+--- a/src/utils/cutils/utils_array.h
++++ b/src/utils/cutils/utils_array.h
+@@ -30,6 +30,7 @@ void util_free_array_by_len(char **array, size_t len);
+
+ void util_free_array(char **array);
+
++// this function just copies the first len elements of array and does not automatically add NULL element in the end.
+ char **util_copy_array_by_len(char **array, size_t len);
+
+ int util_grow_array(char ***orig_array, size_t *orig_capacity, size_t size,
+--
+2.25.1
+