fix: Lots of small bugs based on code analysis by claude #16

Merged
zevaryx merged 1 commit from claude into dev 2026-09-28 14:37:46 +00:00
Owner

The following issues were discovered by Claude and have been resolved:

  • Missing files and unsupported algorithms didn't fail check mode
  • HASH_FAIL printed under --status and didn't name the file
  • A nonexistent path exited 0 silently
  • Stdin was read into memory as text; -c, -o, --legacy were ignored
  • Filenames written unescaped
  • Uppercase hashes showed FAILED
  • -o appended to an existing file
  • -q/-s check didn't match its message
  • NEON disabled for ARM builds
  • Stale per-crate lock files

New tests exist for some of the issues, and others have been tested extensively by hand. This was done to prepare for the 1.0.0 release and to squash any bugs without changing user-facing APIs

The following issues were discovered by Claude and have been resolved: - Missing files and unsupported algorithms didn't fail check mode - `HASH_FAIL` printed under `--status` and didn't name the file - A nonexistent path exited 0 silently - Stdin was read into memory as text; `-c`, `-o`, `--legacy` were ignored - Filenames written unescaped - Uppercase hashes showed `FAILED` - `-o` appended to an existing file - `-q`/`-s` check didn't match its message - NEON disabled for ARM builds - Stale per-crate lock files New tests exist for some of the issues, and others have been tested extensively by hand. This was done to prepare for the 1.0.0 release and to squash any bugs without changing user-facing APIs
zevaryx self-assigned this 2026-09-28 14:36:17 +00:00
fix: Lots of small bugs based on code analysis by claude
All checks were successful
/ lint (pull_request) Successful in 21s
/ test (push) Successful in 21s
9358546e33
zevaryx deleted branch claude 2026-09-28 14:37:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
zevaryx/hasher-rs!16
No description provided.