<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WebAssembly: test imports and exports with 16-bit characters"
href="https://bugs.webkit.org/show_bug.cgi?id=165977#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebAssembly: test imports and exports with 16-bit characters"
href="https://bugs.webkit.org/show_bug.cgi?id=165977">bug 165977</a>
from <span class="vcard"><a class="email" href="mailto:sbarati@apple.com" title="Saam Barati <sbarati@apple.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=165977#c2">comment #2</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=165977#c0">comment #0</a>)
> > The Builder should already handle these, but the parser uses
> > consumeUTF8String which is suspicious.
>
> To elaborate, the implementation of consumeUTF8String looks wrong. Not the
> actual call to it. The implementation skips m_offset stringLength forward,
> which is wrong for 16 bit strings.</span >
Nevermind. We're treating a field of number of bytes from wasm as the *string length*. This is obviously wrong for 16 bit strings.</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>