提交 df6c6a44 编写于 作者: O openharmony_ci 提交者: chengjinsong2

!1982 【轻量级 PR】:fix:change version 4.0.7.5

Merge pull request !1982 from aizehua/N/A
...@@ -26,7 +26,7 @@ namespace OHOS { ...@@ -26,7 +26,7 @@ namespace OHOS {
char *rest = nullptr; char *rest = nullptr;
std::string str(reinterpret_cast<const char*>(data), size); std::string str(reinterpret_cast<const char*>(data), size);
ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE); ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE);
if (!GetParameterCommitId(handle)) { if ((handle < BASE) && (!GetParameterCommitId(handle))) {
result = true; result = true;
} }
return result; return result;
......
...@@ -28,7 +28,7 @@ namespace OHOS { ...@@ -28,7 +28,7 @@ namespace OHOS {
char *rest = nullptr; char *rest = nullptr;
std::string str(reinterpret_cast<const char*>(data), size); std::string str(reinterpret_cast<const char*>(data), size);
ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE); ParamHandle handle = (ParamHandle)strtoul(str.c_str(), &rest, BASE);
if (!GetParameterValue(handle, buffer, len)) { if ((handle < BASE) && (!GetParameterValue(handle, buffer, len))) {
result = true; result = true;
} }
return result; return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册