路径校验

Signed-off-by: fangzhiyi18 <fangzhiyi1@huawei.com>
This commit is contained in:
fangzhiyi18 2024-10-29 03:27:11 +00:00
parent 07fa5057cd
commit 183598fc13

View File

@ -3,7 +3,7 @@ new file mode 100644
index 00000000..422e0d52 index 00000000..422e0d52
--- /dev/null --- /dev/null
+++ b/contrib/android/dac_config.cpp +++ b/contrib/android/dac_config.cpp
@@ -0,0 +1,240 @@ @@ -0,0 +1,246 @@
+/* +/*
+ * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
+ * This program is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify
@ -152,7 +152,6 @@ index 00000000..422e0d52
+ DAC_NUM + DAC_NUM
+}; +};
+ +
+
+extern "C" { +extern "C" {
+ int LoadDacConfig(const char* fn) + int LoadDacConfig(const char* fn)
+ { + {