<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Error parsing JSON config via a pipe to subprocess's stdin"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1355">bug 1355</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;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>fw@strlen.de
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>pablo@netfilter.org
           </td>
           <td>fw@strlen.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Error parsing JSON config via a pipe to subprocess's stdin"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1355#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Error parsing JSON config via a pipe to subprocess's stdin"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1355">bug 1355</a>
              from <span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span></b>
        <pre>(In reply to Tad Ashlock from <a href="show_bug.cgi?id=1355#c0">comment #0</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=566" name="attach_566" title="C++ source file that demonstrates the problem">attachment 566</a> <a href="attachment.cgi?id=566&action=edit" title="C++ source file that demonstrates the problem">[details]</a></span>
> C++ source file that demonstrates the problem

> nft versions tested: 0.5, 0.9.0, 0.9.1
> Linux kernel versions: 4.15.0 (Ubuntu 16.04.1), 4.14.120 (custom distro)​

> I'm fork-exec'ing "nft -f /dev/stdin", passing the configuration string via
> a pipe from the parent process.  When the configuration string gets larger
> than 8192 characters, the parser appears to get corrupted at the 8 KiB
> boundry.  (I've also seen it at the 16 KiB boundary, too.)</span >

Please see if <a href="https://patchwork.ozlabs.org/patch/1134523/">https://patchwork.ozlabs.org/patch/1134523/</a> resolves your
problem, thanks.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - cat foo.nft | nft -f - produces syntax error not seen with nft -f foo.nft"
   href="show_bug.cgi?id=1354">bug 1354</a> ***</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>