Skip to content

Fix time-of-check / time-of-use mistake with dim labels - #3882

Merged
jl-wynen merged 1 commit into
mainfrom
fix-toctou-mistake
Apr 14, 2026
Merged

jl-wynen merged 1 commit into
mainfrom
fix-toctou-mistake

Conversation

@jl-wynen

Copy link
Copy Markdown
Member

Fixes #3881

@jl-wynen jl-wynen added the bug label Apr 10, 2026

@SimonHeybrock SimonHeybrock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the unrelated changes in the branch, the actual fix looks correct. Should we avoid the duplicate code?

@jl-wynen

Copy link
Copy Markdown
Member Author

Oops, I accidentally included changes from #3877. We can just merge that first to clean up the diff.

@jl-wynen
jl-wynen force-pushed the fix-toctou-mistake branch from 9879626 to 2b31562 Compare April 13, 2026 07:42
@jl-wynen

Copy link
Copy Markdown
Member Author

@SimonHeybrock Can you take another look?

@jl-wynen
jl-wynen enabled auto-merge April 14, 2026 07:27
@jl-wynen
jl-wynen force-pushed the fix-toctou-mistake branch from 2b31562 to c19babd Compare April 14, 2026 07:27
@jl-wynen
jl-wynen merged commit bc9aac7 into main Apr 14, 2026
4 checks passed
@jl-wynen
jl-wynen deleted the fix-toctou-mistake branch April 14, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dim registry TOCTOU race

2 participants