<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Implement WebAssembly module parser"
href="https://bugs.webkit.org/show_bug.cgi?id=147293#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Implement WebAssembly module parser"
href="https://bugs.webkit.org/show_bug.cgi?id=147293">bug 147293</a>
from <span class="vcard"><a class="email" href="mailto:ggaren@apple.com" title="Geoffrey Garen <ggaren@apple.com>"> <span class="fn">Geoffrey Garen</span></a>
</span></b>
<pre><span class="quote">> The reason I used this method was that SourceCode::toUTF8() returns
> "m_provider->source().impl()->utf8ForRange(m_startChar, m_endChar -
> m_startChar)". This will crash if source() is "[WebAssembly source]" and
> m_startChar and m_endChar are out of range. Come to think of it, maybe I
> shouldn't have m_startChar and m_endChar out of range in the first place.</span >
Right: It is always an error for m_startChar and m_endChar to be out of range.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>