From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5A25181 for ; Wed, 6 Dec 2023 04:47:43 -0800 (PST) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1rArJV-00080a-I8; Wed, 06 Dec 2023 13:47:41 +0100 Date: Wed, 6 Dec 2023 13:47:41 +0100 From: Florian Westphal To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org, fw@strlen.de Subject: Re: [PATCH nft] evaluate: reject set definition with no key Message-ID: <20231206124741.GJ8352@breakpoint.cc> References: <20231206124230.521196-1-pablo@netfilter.org> Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206124230.521196-1-pablo@netfilter.org> User-Agent: Mutt/1.10.1 (2018-07-13) Pablo Neira Ayuso wrote: > tests/shell/testcases/bogons/nft-f/set_definition_with_no_key_assert > BUG: unhandled key type 2 > nft: src/intervals.c:59: setelem_expr_to_range: Assertion `0' failed. > > This patch adds a new unit tests/shell courtesy of Florian Westphal. > > Fixes: 3975430b12d9 ("src: expand table command before evaluation") > Reported-by: Florian Westphal > Signed-off-by: Pablo Neira Ayuso Looks saner than what I did, thanks Pablo.