Skip to content

Add vcpkg pre-install, cleanup and CI artifact upload for vcpkg logs. - #13

Merged
makr-code merged 1 commit into
mainfrom
fix/vcpkg-boost-headers
Nov 10, 2025
Merged

makr-code merged 1 commit into
mainfrom
fix/vcpkg-boost-headers

Conversation

@makr-code

Copy link
Copy Markdown
Owner

No description provided.

@makr-code
makr-code merged commit 7026615 into main Nov 10, 2025
makr-code added a commit that referenced this pull request Dec 6, 2025
Add vcpkg pre-install, cleanup and CI artifact upload for vcpkg logs.
Copilot AI added a commit that referenced this pull request Jan 7, 2026
Security fixes for remaining TODO items from ROCKSDB_WRAPPER_AUDIT_REPORT.md:

Issue #12 (Phase 2 - Reopen Leak):
- Add explicit close() before db_.reset() when database already open
- Prevents resource leak when reopening after failed open
- Ensures clean state before reinitialization

Issue #13 (Phase 2 - Snapshot Inconsistency):
- Add comprehensive documentation for snapshot lifecycle
- Clarify that snapshots are transaction-local
- Warn callers not to use snapshot pointers after transaction ends

Issue #14 (Phase 2 - write_options Cleanup):
- Already fixed: del() function now uses transactions (line 567)
- No direct write_options_ access, prevents use-after-free
- Consistent with MVCC transaction model

Issue #15 (Phase 3 - Infinite Loop in scanPrefix):
- Add prefix_same_as_start ReadOption for prefix scans
- Prevents over-iteration when prefix doesn't match
- RocksDB optimizes and auto-stops when prefix changes
- Protects against denial-of-service via excessive scanning

All 4 security gaps from audit report are now addressed.

Co-authored-by: makr-code <[email protected]>
@makr-code makr-code added this to the Phase 4: Advanced Features milestone Feb 21, 2026
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
@makr-code makr-code mentioned this pull request Mar 12, 2026
5 tasks
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.

1 participant