Details
Details
- Reviewers
cem - Commits
- rS305312: Add cpuset support to separate forked processes.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
tools/tools/crypto/cryptotest.c | ||
---|---|---|
469–473 ↗ | (On Diff #20002) | threads is an arbitrary user-provided atoi() value and may exceed the logical range of the cpuset_t mask, corrupting the stack (BIT_SET doesn't bounds check). |
Comment Actions
I've address the main issues.
tools/tools/crypto/cryptotest.c | ||
---|---|---|
583 ↗ | (On Diff #20006) | This is a play on the old Apple compiler message: "Too many errors, make fewer." |
Comment Actions
LGTM. (I think the old compiler message only ever got notoriety because of how unhelpful it was; not something to aspire to. But whatever.)