mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
- Use Bun::V::validateInteger to reject non-integers (NaN, Infinity, floats, negatives) - Match the validation pattern used in setuid/setgid functions - Add comprehensive test coverage for numeric edge cases (1.5, -1, NaN, Infinity, 2^31) - Validate both user and extraGroup parameters when numeric Addresses CodeRabbit review feedback.
1.8 KiB
1.8 KiB