Skip to content

Comments

Fix validation, file permissions, and temp file handling#434

Merged
ryanfowler merged 1 commit intomainfrom
fixes
Feb 21, 2026
Merged

Fix validation, file permissions, and temp file handling#434
ryanfowler merged 1 commit intomainfrom
fixes

Conversation

@ryanfowler
Copy link
Owner

  • Reject negative timeout values in ParseTimeout
  • Fix ParseRedirects error message to say "non-negative"
  • Restrict session and update cache directories to 0700
  • Restrict update lock file to 0600
  • Use os.CreateTemp for atomic metadata writes

- Reject negative timeout values in ParseTimeout
- Fix ParseRedirects error message to say "non-negative"
- Restrict session and update cache directories to 0700
- Restrict update lock file to 0600
- Use os.CreateTemp for atomic metadata writes
@ryanfowler ryanfowler enabled auto-merge February 21, 2026 02:40
@ryanfowler ryanfowler merged commit b3badc1 into main Feb 21, 2026
10 checks passed
@ryanfowler ryanfowler deleted the fixes branch February 21, 2026 02:41
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