<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - segfaults when running nft --file foo.nft --echo"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1418">bug 1418</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - segfaults when running nft --file foo.nft --echo"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1418#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - segfaults when running nft --file foo.nft --echo"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1418">bug 1418</a>
              from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
        <pre>(In reply to Patrick McLean from <a href="show_bug.cgi?id=1418#c1">comment #1</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=590" name="attach_590" title="ruleset that triggers the segfault">attachment 590</a> <a href="attachment.cgi?id=590&action=edit" title="ruleset that triggers the segfault">[details]</a></span>
> ruleset that triggers the segfault

> OK, I seem to have figured out how to reproduce it reliably. I have some
> generated rule sets that I am loading, and they attempt to clean up after
> the last time they were loaded by adding then deleting the tables they
> create. The first time nft runs, everything works fine, the second time I
> get the strange output and a segfault.

> So try running "nft --echo --file test.nft" *twice* and it will cause nft to
> to echo some strange data and segfault.</span >

Patchset to address this problem has been posted:

<a href="https://patchwork.ozlabs.org/project/netfilter-devel/list/?series=192921">https://patchwork.ozlabs.org/project/netfilter-devel/list/?series=192921</a>

Thanks for reporting.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>