Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix share memory alloc failed , mediactl_init and drm_init use error address , kernel crash #99

Merged
merged 31 commits into from
Jun 7, 2022
Merged

fix share memory alloc failed , mediactl_init and drm_init use error address , kernel crash #99

merged 31 commits into from
Jun 7, 2022

Conversation

wangjianxin-canaan
Copy link
Contributor

PR描述:

解决共享内存分配失败后,乱写内存数据导致的内核crash问题。

详细描述:

共享内存分配失败后,mediactl_init 和drm_init接口没有立即返回, 存在乱写内存,导致内核crash问题。

关联issue:

#98

wangjianxin-canaan and others added 27 commits May 11, 2022 15:33
This reverts commit c202382.
@wangjianxin-canaan wangjianxin-canaan added the bug Something isn't working label Jun 7, 2022
@wangjianxin-canaan wangjianxin-canaan added this to the v1.7 milestone Jun 7, 2022
gyangcan
gyangcan previously approved these changes Jun 7, 2022
@zhangxiaojingCAN zhangxiaojingCAN merged commit 570d37c into kendryte:dev Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants