Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9296b7cf56e03c1b082f96c577bff4ef6fca82f
https://github.com/WebKit/WebKit/commit/a9296b7cf56e03c1b082f96c577bff4ef6fca82f
Author: Fujii Hironori <[email protected]>
Date: 2023-05-28 (Sun, 28 May 2023)
Changed paths:
M Source/WTF/wtf/win/Win32Handle.cpp
Log Message:
-----------
WTF::Win32Handle: Check the DuplicateHandle result
https://bugs.webkit.org/show_bug.cgi?id=257435
Reviewed by Yusuke Suzuki.
It assumed the variable `duplicate` was set to INVALID_HANDLE_VALUE if
DuplicateHandle failed. But, it's not clear what happens in such a
case.
* Source/WTF/wtf/win/Win32Handle.cpp:
(WTF::duplicateHandle): Check the result of DuplicateHandle.
Canonical link: https://commits.webkit.org/264637@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes