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.
14 lines
322 B
JSON
14 lines
322 B
JSON
{
|
|
"userName": "diruser",
|
|
"realName": "Directory Storage User",
|
|
"uid": 1002,
|
|
"gid": 1002,
|
|
"homeDirectory": "/home/diruser",
|
|
"imagePath": "/home/diruser.homedir",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"storage": "directory",
|
|
"accessMode": 448,
|
|
"diskSize": 10737418240
|
|
}
|