<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110005>110005</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++] Avoid unwrapping iterators in __output_buffer
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++,
format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ldionne
</td>
</tr>
</table>
<pre>
This would allow catching OOB accesses.
For a follow-up patch, you can avoid unwrapping so we catch OOB accesses.
_Originally posted by @ldionne in https://github.com/llvm/llvm-project/pull/108990#discussion_r1763498654_
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkb2u4yAQhZ8GN-hGMDZOXFAkN3KbZnuLP9usiLEYSJS3X9m5q_2RtliEQFPMmTnfUYh-WpyTRFyIuFaq5DkmGayPy-IqHe1Lfps90mcswVIVQnxSo7KZ_TLR2-1ClTEO0eGBsCth5_dL_zh9TFTRMW7NH2Wl69ZP4JO-YqFGLVQ9ore0LM-k1nUTxkif7j3n30OGW_KTX1QIL7pGzM5S_aKkYV_bU7_QOecVSX0m0BPoJ5_nog8m3gn0ITx-fh9rit-dyQT6tYRAoOfs1HWMQG09moLo4zIkfmzrpju1ohm-bFZW1rarO1U5yY9whGPHOl7NEjhj2nUnwcYaNAC01o4nI7Q4OW7bY-UlMGhYB4KLphH80OqWNw5s3bp61HVLGubuyofDtuAhpqnyiMVJzhljogpKu4B7bADBa0Pgsl8g8EkAxpjuKm-luFZJ7i51mXDD4zHjL9nsc9jz_01FXOn570x8dknlmHDjOgyx5LXkQZdxdKkqKcj_Zr0bwo3229NDwo8AAAD__ww8zpI">