Improve assertions in StringParsingBuffer
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Jun 2020 16:07:42 +0000 (16:07 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Jun 2020 16:07:42 +0000 (16:07 +0000)
commitce6e3c9625740b247ebca21ab77f1ccfadcc0fa2
treefeaea13249c78ecad4fa109f04157f8b4828c6d9
parent8efef615a92d01e5994555d8f9688d7be1252483
Improve assertions in StringParsingBuffer
https://bugs.webkit.org/show_bug.cgi?id=213633

Reviewed by Darin Adler.

* wtf/text/StringParsingBuffer.h:
Address additional feedback and improve the assertions by making them more
clear and avoid potential overflows.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/text/StringParsingBuffer.h