[Bug 1355] Error parsing JSON config via a pipe to subprocess's stdin

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Jul 21 15:42:25 CEST 2019


https://bugzilla.netfilter.org/show_bug.cgi?id=1355

Florian Westphal <fw at strlen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 CC|                            |fw at strlen.de
           Assignee|pablo at netfilter.org         |fw at strlen.de

--- Comment #1 from Florian Westphal <fw at strlen.de> ---
(In reply to Tad Ashlock from comment #0)
> Created attachment 566 [details]
> 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.)

Please see if https://patchwork.ozlabs.org/patch/1134523/ resolves your
problem, thanks.

*** This bug has been marked as a duplicate of bug 1354 ***

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20190721/bbf0dd18/attachment.html>


More information about the netfilter-buglog mailing list