Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: e36a18c8923023ca9f2084ac89c20e4d44c22077 https://github.com/WebKit/WebKit/commit/e36a18c8923023ca9f2084ac89c20e4d44c22077 Author: David Kilzer <ddkil...@apple.com> Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths: M Source/WTF/wtf/text/StringImpl.h Log Message: ----------- WTF::StringImpl::createSubstringSharingImpl() should use std::span instead of pointer math <https://bugs.webkit.org/show_bug.cgi?id=281917> <rdar://138429112> Reviewed by Chris Dumez. * Source/WTF/wtf/text/StringImpl.h: (WTF::StringImpl::createSubstringSharingImpl): - Replace pointer math with calls to span8()/span16() and std::span::subspan() for bounds safety checks. Canonical link: https://commits.webkit.org/285581@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