<div dir="ltr">Are the following checks correct? I think we need string of at least length __pos + __len.<br>__glibcxx_requires_string_len(__s, __n);<pre class="gmail-aLF-aPX-K0-aPE"><br></pre><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jul 1, 2026 at 4:41 PM Yuao Ma <<a href="mailto:addr2line@gmail.com">addr2line@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
This patch implements LWG3662 for C++11 ABI and COW ABI of strings.<br>
<br>
Tested on x86_64 linux, ok for trunk?<br>
<br>
Thanks,<br>
Yuao<br>
</blockquote></div>