Description
SEGFAULT when --include-acls is combined with other args,
script name: keychain.js
Steps To Reproduce
Steps to reproduce the unexpected behavior:
sh osascript -l JavaScript keychain.js --list-all-generic --debug
list_all_key_of_type function executes and returns all 123 generic keys
sh osascript -l JavaScript keychain.js --list-all-generic --include-acls --debug
Expected behavior
When the user passes the --include-acls ar as input. the query_acls function should execute, and return the ACL output. (not a TCC permission issue )
ACLs are returned and printed by the list_all_key_of_type function

FUNCTION: CODE:

Screenshots
