mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
Add a simple fuzzer that verifies our machinery for parsing user records from JSON works as intended. The initial corpus was created with the help of Claude, so we have a bunch of valid user records with as much fields as possible for the initial corpus.
10 lines
189 B
JSON
10 lines
189 B
JSON
{
|
|
"userName": "reserveduser",
|
|
"uid": 999,
|
|
"gid": 999,
|
|
"homeDirectory": "/nonexistent",
|
|
"shell": "/usr/sbin/nologin",
|
|
"disposition": "reserved",
|
|
"locked": true
|
|
}
|