MFC after: 1 week
Sponsored by: Klara, Inc.
Details
Details
- Reviewers
kevans - Group Reviewers
Klara - Commits
- rGeab91d008165: xargs: Prevent overflow in linelen calculation if nargs is large.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 52626 Build 49517: arc lint + arc unit
Event Timeline
Comment Actions
For some reason this patch is not working for me, It works fine on macOS. I'll take a closer look later.
Comment Actions
I reverted the addition of the regression test since it triggers OOM kills in ci.freebsd.org and in my local testing environment. The problem is that the test triggers an allocation of 16GB when jemalloc debugging is enabled, and most environments don't have that much RAM available.
Is there any need to allow values for -n larger than ARG_MAX?