Repository navigation
Conversation
makr-code
marked this pull request as draft
November 12, 2025 15:05
makr-code
marked this pull request as ready for review
November 12, 2025 15:05
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]>
31 tasks
33 of 47 tasks
10 tasks
5 of 26 tasks
11 of 25 tasks
9 of 57 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a scaffold and first implementations for PKI/eIDAS work and backup scaffolding.
Changes included:
Checklist (what to review / next actions):
Recommended next steps:
Notes:
If you'd like, I can also: