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

fixed a bug of proc.c, and made a small change of ucore_run #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zfkuang
Copy link

@zfkuang zfkuang commented May 21, 2018

在我们的工作中需要在ucore上运行一个较大的用户程序(约几十MB),但是在运行的过程中发现proc.c的proc_elf_set_permission函数中存在bug,即当用户程序所占用的pte个数大于PGSIZE时,原实现并未建立新的pte项,将导致数组越界,破坏正常数据。现已修复了这个bug。

ucore_run脚本中也存在一个bug,即在调用qemu运行ucore的时候,加入了一个不存在的硬盘镜像(yaffs),现已将这一行代码删除。

bug发现者:王纪霆,匡正非 #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant