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

  Changed paths:
    M Source/WTF/wtf/text/StringBuffer.h

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

Reviewed by Darin Adler.

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

* Source/WTF/wtf/text/StringBuffer.h:
(WTF::StringBuffer::operator[]):

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


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

Reply via email to