Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d9f5208cd39357e9836ef9e5920f6ec1614b6c32 https://github.com/WebKit/WebKit/commit/d9f5208cd39357e9836ef9e5920f6ec1614b6c32 Author: Chris Dumez <cdu...@apple.com> Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths: M Source/WebKit/Shared/API/c/cf/WKStringCF.mm Log Message: ----------- Regression(278082@main) Crash under WKStringCopyCFString() https://bugs.webkit.org/show_bug.cgi?id=273460 rdar://127262671 Reviewed by Darin Adler. API::String::string() returns a new value, using isolatedCopy(), which I wasn't expected. As a result, we need to store the result of API::String::string() in a local variable so that our span keeps pointing to valid memory. * Source/WebKit/Shared/API/c/cf/WKStringCF.mm: (WKStringCopyCFString): Canonical link: https://commits.webkit.org/278147@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes