Description: syscall SysEpollWait 执行漏洞修复
IssueNo: https://gitee.com/openharmony/kernel_liteos_a/issues/IALYB5?from=project-issue Feature Or Bugfix: Bugfix Binary Source: No Signed-off-by: hw_llm <liu.limin@huawei.com>
This commit is contained in:
parent
2e642e6d9a
commit
5e3a8f11b4
|
@ -326,7 +326,7 @@ int epoll_wait(int epfd, FAR struct epoll_event *evs, int maxevents, int timeout
|
|||
return -1;
|
||||
}
|
||||
|
||||
for (i = 0; i < epHead->nodeCount; i++) {
|
||||
for (i = 0; i < pollSize; i++) {
|
||||
pFd[i].fd = epHead->evs[i].data.fd;
|
||||
pFd[i].events = (short)epHead->evs[i].events;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue