Details
Details
- Reviewers
jhb - Commits
- rS325567: Zero whole struct ptrace_lwpinfo to not leak kernel stack data.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 12239
Event Timeline
sys/kern/sys_process.c | ||
---|---|---|
1363 | I would be inclined to zero the whole struct. In my case I saw garbage leak in 'pl_child_pid' for a non-fork event. We should probably zero the entire pl32 before copying across as well in case there is padding (perhaps in fields added in the future)? |