Committed v2 to trunk.
On Wed, Nov 12, 2025 at 4:54 PM KuanLin Chen <[email protected]> wrote: > > > > std::unique_ptr<char[]> buf (new char[len+1]); > > > char *str_to_check = buf.get (); > > > + memset(str_to_check + len, 0, 1); > > > > aka. str_to_check[len] = '\0' > It seems more readable. I'll resend the patch. Thanks.
