Details
Details
- Reviewers
jamie - Commits
- rG2fe96ee7537b: sysvsem: Fix a typo
rGcb2ae6163174: sysvsem: Fix a typo
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Actually, it is - perhaps. rpr can be null if the jail is created with sysvsem=disable. But at least it doesn't appear to be fatal, since rpr is never dereferenced (as far as a quick glance suggests) but is only compared to other prison pointers. It might even end up doing the right thing without the null check, but I wouldn't want to count on it.