Changeset 245197 in webkit
- Timestamp:
- May 10, 2019, 2:36:45 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/sql/SQLiteDatabase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r245191 r245197 1 2019-05-09 Geoffrey Garen <ggaren@apple.com> 2 3 Downgrade RELEASE_ASSERT TO RELEASE_LOG_FAULT for SQLite Class A files 4 https://bugs.webkit.org/show_bug.cgi?id=197760 5 6 Reviewed by Jer Noble. 7 8 We have all the data we need, and this crash is happening more than 9 expected. 10 11 * platform/sql/SQLiteDatabase.cpp: 12 (WebCore::SQLiteDatabase::open): 13 1 14 2019-05-10 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/platform/sql/SQLiteDatabase.cpp
r244921 r245197 151 151 152 152 String shmFileName = makeString(filename, "-shm"_s); 153 if (FileSystem::fileExists(shmFileName)) 154 RELEASE_ASSERT(FileSystem::isSafeToUseMemoryMapForPath(shmFileName)); 153 if (FileSystem::fileExists(shmFileName)) { 154 if (!FileSystem::isSafeToUseMemoryMapForPath(shmFileName)) 155 RELEASE_LOG_FAULT(SQLDatabase, "Opened an SQLite database with a Class A -shm file. This may trigger a crash when the user locks the device. (%s)", shmFileName.latin1().data()); 156 FileSystem::makeSafeToUseMemoryMapForPath(shmFileName); 157 } 155 158 156 159 return isOpen();
Note:
See TracChangeset
for help on using the changeset viewer.