<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; Any version:</li>
<li>Operating System / Platform =&gt; Windows 64 Bit and Windows 32 Bit</li>
<li>Compiler =&gt;  Visual Studio 2015</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<p dir="auto">dist.h compile without NEON or GNUC</p>
<p dir="auto">It will cause Memory out of bound Error!!<br>
Because size * sizeof(pop_t), larger than original size</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/opencv/opencv/blob/b39cd06249213220e802bb64260727711d9fc98c/modules/flann/include/opencv2/flann/dist.h#L468">opencv/modules/flann/include/opencv2/flann/dist.h</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 468
      in
      <a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/b39cd06249213220e802bb64260727711d9fc98c">b39cd06</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L468" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="468"></td>
          <td id="LC468" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">reinterpret_cast</span>&lt;<span class="pl-k">const</span> <span class="pl-k">unsigned</span> <span class="pl-k">char</span>*&gt; (b), size * <span class="pl-k">sizeof</span>(<span class="pl-c1">pop_t</span>)); </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<h5 dir="auto">Steps to reproduce</h5>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; : 4.1.2:</li>
<li>Operating System / Platform =&gt; :Windows 64 Bit:</li>
<li>Compiler =&gt; :Visual Studio 2015:</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<h5 dir="auto">Steps to reproduce</h5>

<p dir="auto">I converted from a keras model to tensorflow. But I get this error. Has anyone already encountered this type of error?</p>