Skip to content

Fix UAF race between writers and DBImpl destruction#1296

Open
DengY11 wants to merge 1 commit intogoogle:mainfrom
DengY11:fix/delete_db
Open

Fix UAF race between writers and DBImpl destruction#1296
DengY11 wants to merge 1 commit intogoogle:mainfrom
DengY11:fix/delete_db

Conversation

@DengY11
Copy link
Copy Markdown

@DengY11 DengY11 commented Jan 13, 2026

fixes a race where writer threads can block in DBImpl::MakeRoomForWrite() and later access freed DBImpl state if delete db happens concurrently.

all tests passed.

close #1293

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.

[Bug] Heap-Use-After-Free in DBImpl::MakeRoomForWrite during DB Destruction

1 participant