-
Notifications
You must be signed in to change notification settings - Fork 4.9k
fix: PathWatcherManager deadlock and UAF in deferred deinit #27957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
376a671
fix: PathWatcherManager deadlock and UAF in deferred deinit
claude 36b2f3d
Fix stale comment in unrefPendingDirectory
claude 6843424
Fix lock ordering, dead code, and race in PathWatcherManager
claude 8dbfe9f
Merge branch 'main' into claude/fix-path-watcher-deadlock-uaf
alii 543bd03
fix: prevent use-after-poison in PathWatcher onFileUpdate and clean u…
claude e35d6af
Clone path strings in watchlist to fix use-after-free
claude 19105e6
Merge branch 'main' into claude/fix-path-watcher-deadlock-uaf
alii 2085190
Remove unnecessary getcwd() call (#27967)
Jarred-Sumner 1e8167c
Fix operator precedence bug causing excessive memory allocation (#27966)
Jarred-Sumner f52cfaf
Fix memory leak from clone_file_path=true
claude b152cbb
Merge branch 'main' into claude/fix-path-watcher-deadlock-uaf
alii f261afc
Free cloned file_path on error in append{File,Directory}AssumeCapacity
claude 10d4b2d
Merge branch 'main' into claude/fix-path-watcher-deadlock-uaf
alii a551e2f
Fix misleading comment about eviction skip in onFileUpdate
claude ae406f7
ci: retry windows-aarch64 build
claude c697b1b
Merge branch 'main' into claude/fix-path-watcher-deadlock-uaf
alii 8e82d2a
Add regression test for PathWatcherManager concurrency bugs
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.