Skip to content
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

[Bugfix] fix illegal memory access #42

Merged

Conversation

LucasWilkinson
Copy link
Collaborator

Fix issue when there is less than kBlockN / page_size pages in the final block, in this case we can read off the end of the block_table

Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>
Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>
Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>
@LucasWilkinson LucasWilkinson merged commit 720c948 into lwilkinson/fa3-squashed Feb 6, 2025
1 check passed
@tlrmchlsmth
Copy link

Should we get this into main as well for good measure?

LucasWilkinson added a commit that referenced this pull request Feb 11, 2025
* fix illegal memory access

Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>

* fix off by one

Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>

* typo

Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>

---------

Signed-off-by: LucasWilkinson <lwilkinson@neuralmagic.com>
Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com>
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.

3 participants