-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix potential security issue #34
Conversation
Sorry, I understand there is bug in chromium, but is there reference to MS documentation indicating that CloseClipboard() has such security problem? |
https://www.exploit-db.com/exploits/38199 (This also contains a PoC) |
Thank you, I will read it later this evening to confirm impact |
This should only affect users who use |
From my understanding this is problem only for any elevated processes actually. I could implement one time check using |
Highly doubtful, performance difference is probably negligible and this would be premature optimization. This operation is safe to be called unconditionally as Chromium implements this identically in C++. Good catch with the drop! I’m new to rust and forgot about that 😅 |
Anyway thanks for PR I released 5.3.1 which includes this PR |
See Chromium's implementation as well as crbug/441834.