<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <p>Hi, Sergey!</p>
    <p>with enabled ASAN it is reproduced, thanks! LGTM</p>
    <div class="moz-cite-prefix">On 3/3/26 14:59, Sergey Kaplun wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:aabNJPIPWdWTtPR0@root">
      <pre wrap="" class="moz-quote-pre">Hi, Sergey!
Thanks for the review!

On 03.03.26, Sergey Bronnikov wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">Hi, Sergey,

thanks for the patch!

The bug is not reproduced without patch.

CMake configuration: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">
Hi, Sergey!
I suppose you need to build LuaJIT with enabled ASAN check to catch
dangling pointer.

</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">
Sergey

</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">
<snipped>

</pre>
    </blockquote>
  </body>
  <lt-container></lt-container>
</html>