Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6f034bf97e2b0c1d5eb06d70ccbbdbb701b2bb1e
https://github.com/WebKit/WebKit/commit/6f034bf97e2b0c1d5eb06d70ccbbdbb701b2bb1e
Author: Adrian Perez de Castro <[email protected]>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M Source/WTF/wtf/FileSystem.h
M Source/WTF/wtf/glib/FileSystemGlib.cpp
Log Message:
-----------
[Gardening] REGRESSION(255324@main): WebProcess crash while running
TestUIClient
https://bugs.webkit.org/show_bug.cgi?id=246480
Reviewed by Žan Doberšek.
* Source/WTF/wtf/FileSystem.h: Use nullptr to modernize invalid handle value.
* Source/WTF/wtf/glib/FileSystemGlib.cpp:
(WTF::FileSystemImpl::fileID): Check whether the file handle is valid
before attempting to use it.
Canonical link: https://commits.webkit.org/255525@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes