[webkit-changes] [WebKit/WebKit] 6193c6: Crash under WebKit::WebExtensionSQLiteDatabase::op...

Timothy Hatcher noreply at github.com
Fri Feb 21 13:46:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6193c6af99a8fe429f51e5e380306ce8921ce9de
      https://github.com/WebKit/WebKit/commit/6193c6af99a8fe429f51e5e380306ce8921ce9de
  Author: Timothy Hatcher <timothy at apple.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M Source/WebKit/Shared/Extensions/WebExtensionSQLiteDatabase.cpp
    M Source/WebKit/Shared/Extensions/WebExtensionUtilities.cpp

  Log Message:
  -----------
  Crash under WebKit::WebExtensionSQLiteDatabase::openWithAccessType.
https://webkit.org/b/288233
rdar://144820139

Reviewed by Brian Weinstein.

* Source/WebKit/Shared/Extensions/WebExtensionSQLiteDatabase.cpp:
(WebExtensionSQLiteDatabase::openWithAccessType): Don't store a temporary char *,
hold databasePath as a String. Also use FileSystem::fileSystemRepresentation().
* Source/WebKit/Shared/Extensions/WebExtensionUtilities.cpp:
(WebKit::toErrorString): Also don't store a temporary, pass it directly in the
call to formatString().

Canonical link: https://commits.webkit.org/290827@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list