Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da6ed35d5041d3b137c3e5ae3c6d365194c27bed
      
https://github.com/WebKit/WebKit/commit/da6ed35d5041d3b137c3e5ae3c6d365194c27bed
  Author: Chris Dumez <[email protected]>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/TextRun.h

  Log Message:
  -----------
  Add bounds check to TextRun::operator[]
https://bugs.webkit.org/show_bug.cgi?id=264053

Reviewed by Alan Baradlay.

Add bounds check to TextRun::operator[] for extra safety. This tested
as performance neutral on the benchmarks we track.

* Source/WebCore/platform/graphics/TextRun.h:
(WebCore::TextRun::operator[] const):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to