Files
systemd/test/fuzz/fuzz-user-record/edge-empty-arrays.json
Frantisek Sumsal be0db50cad fuzz: add a fuzzer for user records
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.
2026-03-06 19:03:14 +01:00

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": []
}
}