diff options
| author | Devin Teske <dteske@FreeBSD.org> | 2026-09-22 22:31:20 +0000 |
|---|---|---|
| committer | Devin Teske <dteske@FreeBSD.org> | 2026-09-22 22:31:20 +0000 |
| commit | 74cab6e2371fc35b58d5d3d018c7c3ad52809153 (patch) | |
| tree | 54404f953e4f164f8850d73352afbdd63222dd57 /usr.sbin/setfmac/(developers-only) | |
| parent | 7b7ef798bfc56c56e80b88bc277d5c6158dcaee4 (diff) | |
Copy the descriptor into a buffer of at most 64 MiB (raise it with
BSDCONF_MAX_BYTES) and tokenize with bsdconf_scan(), the walker
bsdconf_put() already uses. Input above the cap fails with EFBIG.
Bump libbsdconf to 1.2.0 and sysconf(8) to 2.0.
Suggested by: fuz
Reviewed by: fuz
Differential Revision: https://reviews.freebsd.org/D59751
Diffstat (limited to 'usr.sbin/setfmac/(developers-only)')
0 files changed, 0 insertions, 0 deletions
