Skip to content

fix(scanners): review findings — default audio, TCC errno, extension map#2

Merged
wgordon17 merged 1 commit intogordon-code:mainfrom
wgordon17:fix/review-findings
Mar 9, 2026
Merged

fix(scanners): review findings — default audio, TCC errno, extension map#2
wgordon17 merged 1 commit intogordon-code:mainfrom
wgordon17:fix/review-findings

Conversation

@wgordon17
Copy link
Member

Summary

  • Use coreaudio_default_audio_output_device marker to identify actual default audio device instead of assuming first-in-list
  • Add TCC errno distinction to read_launchd_plists for consistency with read_plist_safe (EPERM→DEBUG, EACCES→WARNING)
  • Clarify _parse_xml_dict loop condition
  • Add YAML and XML to ConfigFileType enum and _EXTENSION_MAP
  • Remove _MAX_FILE_SIZE skip — hash_file already caps at 64KB, the size check was silently dropping entries from results

- Use coreaudio_default_audio_output_device marker to identify actual
  default audio device instead of assuming first-in-list
- Add TCC errno distinction to read_launchd_plists for consistency
  with read_plist_safe (EPERM→DEBUG, EACCES→WARNING)
- Clarify _parse_xml_dict loop condition (i+1 < len, not len-1)
- Add YAML and XML to ConfigFileType enum and _EXTENSION_MAP
- Remove _MAX_FILE_SIZE skip — hash_file already caps at 64KB,
  the size check was silently dropping entries from results
@wgordon17 wgordon17 merged commit 07ae446 into gordon-code:main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant