[webkit-changes] [WebKit/WebKit] bd841a: Add bounds check to TrailingArray

Chris Dumez noreply at github.com
Wed May 29 13:26:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bd841a09536799b70842b7e0a7e84890e9853fce
      https://github.com/WebKit/WebKit/commit/bd841a09536799b70842b7e0a7e84890e9853fce
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M Source/WTF/wtf/FixedVector.h
    M Source/WTF/wtf/TrailingArray.h

  Log Message:
  -----------
  Add bounds check to TrailingArray
https://bugs.webkit.org/show_bug.cgi?id=274856

Reviewed by Darin Adler.

* Source/WTF/wtf/FixedVector.h:
(WTF::FixedVector::at):
(WTF::FixedVector::at const):
(WTF::FixedVector::operator[]):
(WTF::FixedVector::operator[] const):
* Source/WTF/wtf/TrailingArray.h:
(WTF::TrailingArray::at):
(WTF::TrailingArray::at const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list