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

!751 OsFutexWait接口当absTime为0时,返回值不正确,导致用户态c库处理不当,触发当前线程卡死

Merge pull request !751 from zhangfanfan2/other
......@@ -524,7 +524,7 @@ STATIC INT32 OsFutexWaitParamCheck(const UINT32 *userVaddr, UINT32 flags, UINT32
}
if (!absTime) {
return LOS_EINVAL;
return LOS_ETIMEDOUT;
}
return LOS_OK;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册