Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bugfix: add more stringent out-of-bounds checks for GGUF parser #2159

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

gau-nernst
Copy link
Contributor

Describe Your Changes

  • Check for out-of-bounds whenever we read a value from GGUF mmap file
  • Add a test that fails before this PR

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@gau-nernst gau-nernst changed the title bug: add more stringent out-of-bounds checks for GGUF parser bugfix: add more stringent out-of-bounds checks for GGUF parser Mar 21, 2025
@gau-nernst gau-nernst self-assigned this Mar 21, 2025
@gau-nernst gau-nernst added this to Menlo Mar 21, 2025
@github-project-automation github-project-automation bot moved this to Investigating in Menlo Mar 21, 2025
@gau-nernst gau-nernst moved this from Investigating to Eng Review in Menlo Mar 21, 2025
@gau-nernst gau-nernst merged commit 3fef2db into dev Mar 21, 2025
8 checks passed
@gau-nernst gau-nernst deleted the thien/parser_oob branch March 21, 2025 02:10
@david-menloai david-menloai moved this from Eng Review to Completed in Menlo Mar 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants