Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r220677 - [GTK][WPE] Crash in IconDatabase::IconRecord::setImag…
…eData() https://bugs.webkit.org/show_bug.cgi?id=175527 Reviewed by Žan Doberšek. The problem is that when setImageData() is called from IconDatabase::readFromDatabase() the shared buffer might be nullptr, because getImageDataForIconURLFromSQLDatabase() returns nullptr if the icon data is not in the database. * UIProcess/API/glib/IconDatabase.cpp: (WebKit::IconDatabase::IconRecord::setImageData): Return early if passed in buffer is nullptr.
- Loading branch information