Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e36fb6ce4d50edc025be982de388581958edf03
      
https://github.com/WebKit/WebKit/commit/9e36fb6ce4d50edc025be982de388581958edf03
  Author: Kiara Rose <kiara_r...@apple.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteRow.mm
    M Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteStore.mm

  Log Message:
  -----------
  Failing to deserialize data from _WKWebExtensionSQLiteRow
https://bugs.webkit.org/show_bug.cgi?id=266012

Reviewed by Brian Weinstein and Timothy Hatcher.

We should be passing data.bytes as is.
`- (NSData *)uncopiedDataAtIndex:(NSUInteger)index` needs a cast.

* Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteRow.mm:
(-[_WKWebExtensionSQLiteRow dataAtIndex:]):
(-[_WKWebExtensionSQLiteRow uncopiedDataAtIndex:]):
* Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteStore.mm:
Initialize with space for two items, not three.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to