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.
17 lines
355 B
JSON
17 lines
355 B
JSON
{
|
|
"userName": "areauser",
|
|
"realName": "Default Area Test User",
|
|
"uid": 3012,
|
|
"gid": 3012,
|
|
"homeDirectory": "/home/areauser",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"defaultArea": "work",
|
|
"perMachine": [
|
|
{
|
|
"matchHostname": "personal",
|
|
"defaultArea": "personal"
|
|
}
|
|
]
|
|
}
|