[webkit-changes] [WebKit/WebKit] 6f034b: [Gardening] REGRESSION(255324 at main): WebProcess cr...
Adrian Perez
noreply at github.com
Fri Oct 14 02:01:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6f034bf97e2b0c1d5eb06d70ccbbdbb701b2bb1e
https://github.com/WebKit/WebKit/commit/6f034bf97e2b0c1d5eb06d70ccbbdbb701b2bb1e
Author: Adrian Perez de Castro <aperez at igalia.com>
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 at 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
More information about the webkit-changes
mailing list