All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] parser_json: fix assert due to empty interface name
Date: Tue, 22 Jul 2025 03:54:45 +0200	[thread overview]
Message-ID: <aH7vZQHI9PgGe4lM@calendula> (raw)
In-Reply-To: <20250721113607.11522-1-fw@strlen.de>

On Mon, Jul 21, 2025 at 01:36:03PM +0200, Florian Westphal wrote:
> Before:
> nft: src/mnl.c:744: nft_dev_add: Assertion `ifname_len > 0' failed.
> 
> After:
> internal:0:0-0: Error: empty interface name
> 
> Bison checks this upfront, do same in json.
> 
> Signed-off-by: Florian Westphal <fw@strlen.de>

Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>

      reply	other threads:[~2025-07-22  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-21 11:36 [PATCH nft] parser_json: fix assert due to empty interface name Florian Westphal
2025-07-22  1:54 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aH7vZQHI9PgGe4lM@calendula \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.