-
Notifications
You must be signed in to change notification settings - Fork 23
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
Nanos 可能的溢出问题 #3
Comments
可以介绍一下溢出的具体原因吗,我已经太久没有阅读这个项目了。悲.jpg |
|
我觉得你说的有道理,的确是我的代码写出了问题,位移算错了。 |
已经把这条ISSUE Pin上了,应该会方便后来者读到。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nanos-lite/src/loader.c
void context_kload(PCB *pcb, void (*entry)(void *), void *arg){}
120行
karea.end = &pcb->cp + STACK_SIZE;
// &pcb->cp 步长不为1 可能会超出对应pcb的stack以及context_uload中也存在这个问题
The text was updated successfully, but these errors were encountered: