From 89abb6f4e231cf378b1e7f7415cfa196fdf7b3da Mon Sep 17 00:00:00 2001
From: yinbin6 <yinbin8@huawei.com>
Date: Mon, 25 Dec 2023 10:25:42 +0000
Subject: [PATCH] fix func separate_str_to_array overflow problem

Signed-off-by: yinbin6 <yinbin8@huawei.com>
---
 src/common/gazelle_parse_config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/gazelle_parse_config.c b/src/common/gazelle_parse_config.c
index 82be52c..9772af9 100644
--- a/src/common/gazelle_parse_config.c
+++ b/src/common/gazelle_parse_config.c
@@ -79,8 +79,8 @@ int32_t separate_str_to_array(char *args, uint32_t *array, int32_t array_size, i
             }
             for (idx = min; idx <= max; idx++) {
                 if (count > array_size) {
-		            return -1;
-		        }
+                    return -1;
+                }
                 array[count] = idx;
                 count++;
             }
-- 
2.27.0