[webkit-reviews] review granted: [Bug 217249] Add maximum depth check to RedBlackTree : [Attachment 410720] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 18:53:30 PDT 2020


Saam Barati <sbarati at apple.com> has granted Tadeu Zagallo
<tzagallo at apple.com>'s request for review:
Bug 217249: Add maximum depth check to RedBlackTree
https://bugs.webkit.org/show_bug.cgi?id=217249

Attachment 410720: Patch

https://bugs.webkit.org/attachment.cgi?id=410720&action=review




--- Comment #11 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 410720
  --> https://bugs.webkit.org/attachment.cgi?id=410720
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=410720&action=review

r=me

> Source/WTF/wtf/RedBlackTree.h:353
> +	       RELEASE_ASSERT(++size < std::numeric_limits<unsigned>::max());

Just use Checked?


More information about the webkit-reviews mailing list