Skip to content

krep 1.0.1 #220183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

krep 1.0.1 #220183

wants to merge 1 commit into from

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
### Fixed
  • SIMD Stability: Added bounds checking to SIMD search functions (simd_sse42_search, simd_avx2_search) when loading text data near the end of a file or buffer. This prevents potential crashes caused by reading beyond allocated memory, especially with text sizes not aligned to SIMD vector lengths (16/32 bytes). Safe loading now uses a temporary buffer in these edge cases.
  • Recursive Path Joining: Corrected path construction logic in recursive directory search (-r) to properly handle base directory paths that may or may not end with a /.

Changed

  • Recursive Error Reporting: Improved error messages during recursive search (-r) to explicitly state "Permission denied" (EACCES) when failing to open a directory, providing clearer feedback than a generic OS error.
  • Recursive Binary File Skipping: Refined the heuristic for skipping binary files during recursive search (-r). The check for null bytes (is_binary_file) is now only performed on files larger than 1MB to reduce the likelihood of skipping valid, smaller text files that might contain incidental null bytes.
  • Internal: Minor change to cmp_mode definition style in SSE4.2 search code for potential compiler optimizations.

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Apr 15, 2025
@chenrui333
Copy link
Member

davidesantangelo/krep#19

@chenrui333 chenrui333 added upstream issue An upstream issue report is needed homepage labels Apr 15, 2025
@daeho-ro daeho-ro mentioned this pull request Apr 16, 2025
@daeho-ro
Copy link
Member

Replaced by

@daeho-ro daeho-ro closed this Apr 16, 2025
@github-actions github-actions bot deleted the bump-krep-1.0.1 branch April 16, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` homepage upstream issue An upstream issue report is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants