未验证 提交 b392a484 编写于 作者: O openharmony_ci 提交者: Gitee

!1986 FIX:修改Fuzztest 超时问题

Merge pull request !1986 from cheng_jinsong/0526_fuzz
......@@ -29,7 +29,7 @@ const.build.product=default
const.product.hardwareversion=default
const.product.bootloader.version=bootloader
const.product.cpu.abilist=default
const.product.software.version=OpenHarmony 4.0.7.5
const.product.software.version=OpenHarmony 4.0.7.3
const.product.incremental.version=default
const.product.firstapiversion=1
const.product.build.type=default
......
......@@ -13,4 +13,4 @@
const.ohos.version.security_patch=2023/05/01
const.ohos.releasetype=Beta1
const.ohos.apiversion=10
const.ohos.fullname=OpenHarmony-4.0.7.5
const.ohos.fullname=OpenHarmony-4.0.7.3
......@@ -14,4 +14,4 @@
const.ohos.releasetype=Beta1
const.ohos.apiversion=10
const.ohos.version.security_patch=2023/05/01
const.ohos.fullname=OpenHarmony-4.0.7.5
\ No newline at end of file
const.ohos.fullname=OpenHarmony-4.0.7.3
\ No newline at end of file
......@@ -26,7 +26,7 @@ namespace OHOS {
char *rest = nullptr;
std::string str(reinterpret_cast<const char*>(data), size);
ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE);
if (!GetParameterCommitId(handle)) {
if ((handle < BASE) && (!GetParameterCommitId(handle))) {
result = true;
}
return result;
......
......@@ -28,7 +28,7 @@ namespace OHOS {
char *rest = nullptr;
std::string str(reinterpret_cast<const char*>(data), size);
ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE);
if (!GetParameterValue(handle, buffer, len)) {
if ((handle < BASE) && (!GetParameterValue(handle, buffer, len))) {
result = true;
}
return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册