Skip to content

Conversation

@cphurley82
Copy link

@cphurley82 cphurley82 commented Nov 20, 2025

Summary

  • Corrected memory::handle_operation to limit the second-page read to the remaining requested length, preventing buffer overwrite when crossing a page boundary.
  • Added a GoogleTest-based memory_boundary_test that reproduces and now validates the fixed boundary read.
  • Added unit test to CI.
  • Added TESTING.md.

Testing

@cphurley82 cphurley82 marked this pull request as ready for review November 21, 2025 19:02
- act allows you to run GitHub Actions locally but requires minor changes to the workflow
- when running locally conan creates files that should be ignored by git
- Added unit tests to CI workflow.
- Added Dockerfile for testing environment setup.
- Created `TESTING.md` for guidelines on running tests.
- Implemented memory boundary test in `tests/memory_boundary_test.cpp` with CMake configuration.
@cphurley82 cphurley82 force-pushed the fix-reading-across-page-boundary branch from 66dd4f2 to 482e736 Compare December 3, 2025 01:02
@cphurley82
Copy link
Author

@eyck, can you please review this? The coan change tripped up my rebase so I'd like to get it in sooner rather than later.

@eyck
Copy link
Contributor

eyck commented Dec 3, 2025

I will have a look later this week...

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