Skip to content

Conversation

@xushanpu123
Copy link

  The system call sys_pipe(pipe: *mut u32) does not perform an address check on the pipe and causes the kernel to trigger a StorePageFault if the address of the pipe does not exist in the address space of the process.
  This commit adds a memory check to sys_pipe() and returns an illegal address error if the pipe does not belong to the process address space.'

The system call sys_pipe(pipe: *mut u32) does not perform an address check on the pipe and causes the kernel to trigger a StorePageFault if the address of the pipe does not exist in the address space of the process.

This commit adds a memory check to sys_pipe() and returns an illegal address error if the pipe does not belong to the process address space.
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