equal() reads out of bounds; we started seeing this after the fix for bug 140873.
Created attachment 246045 [details] proposed fix
Comment on attachment 246045 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=246045&action=review > Source/WTF/wtf/text/StringImpl.h:878 > +#if (CPU(X86_64) || CPU(ARM64)) && !ASAN_ENABLED You may want to consider checking ASAN_ENABLED in an if-statement and changing the #if to #elif on this line such that these #if/elif/else-macro blocks look like: #if ASAN_ENABLED ... #elif CPU(X86_64) || CPU(ARM64) ... ... #else ... #endif Then we do not need to add the conjunct !ASAN_ENABLED to each macro conditional expression.
Comment on attachment 246045 [details] proposed fix I wanted to keep debug-only code after production code - we usually try to keep the "best" variant first in WebKit code base.
Comment on attachment 246045 [details] proposed fix Clearing flags on attachment: 246045 Committed r179644: <http://trac.webkit.org/changeset/179644>
All reviewed patches have been landed. Closing bug.