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.
35 lines
841 B
JSON
35 lines
841 B
JSON
{
|
|
"userName": "emptyarrays",
|
|
"realName": "Empty Arrays Test User",
|
|
"uid": 3001,
|
|
"gid": 3001,
|
|
"homeDirectory": "/home/emptyarrays",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"aliases": [],
|
|
"environment": [],
|
|
"additionalLanguages": [],
|
|
"memberOf": [],
|
|
"capabilityBoundingSet": [],
|
|
"capabilityAmbientSet": [],
|
|
"pkcs11TokenUri": [],
|
|
"fido2HmacCredential": [],
|
|
"recoveryKeyType": [],
|
|
"selfModifiableFields": [],
|
|
"selfModifiableBlobs": [],
|
|
"selfModifiablePrivileged": [],
|
|
"privileged": {
|
|
"hashedPassword": [],
|
|
"sshAuthorizedKeys": [],
|
|
"pkcs11EncryptedKey": [],
|
|
"fido2HmacSalt": [],
|
|
"recoveryKey": []
|
|
},
|
|
"perMachine": [],
|
|
"signature": [],
|
|
"secret": {
|
|
"password": [],
|
|
"tokenPin": []
|
|
}
|
|
}
|