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 Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/sys_process.c | ||
---|---|---|
1363 ↗ | (On Diff #34355) | 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)? |