mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 20:29:57 -04:00
update src/syscap_tool.c.
Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
+1
-1
@@ -507,7 +507,7 @@ char *CopyInputString(const char *inputString)
|
||||
PRINT_ERR("inputString is empty.\n");
|
||||
inputString == NULL;
|
||||
return NULL;
|
||||
}}
|
||||
}
|
||||
size_t inputLen = strlen(inputString);
|
||||
if (inputLen > STRING_FORMAT_LEN_MAX) {
|
||||
PRINT_ERR("input string too long(%zu).\n", inputLen);
|
||||
|
||||
Reference in New Issue
Block a user