Netfilter-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [nft] Bug 1444 - Segfault
@ 2020-10-15 19:01 Gopal Yadav
  0 siblings, 0 replies; only message in thread
From: Gopal Yadav @ 2020-10-15 19:01 UTC (permalink / raw)
  To: netfilter-devel

In this bug https://bugzilla.netfilter.org/show_bug.cgi?id=1444
The segfault occurs when set_ref_expr_print() calls expr_print() with
expr->set->init as its argument because there is no space allocated
for expr->set->init.

See: http://git.netfilter.org/nftables/tree/src/expression.c#n1209

Will a simple if-check for expr->set->init be an appropriate solution for this?

Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 19:01 [nft] Bug 1444 - Segfault Gopal Yadav

Netfilter-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netfilter-devel/0 netfilter-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netfilter-devel netfilter-devel/ https://lore.kernel.org/netfilter-devel \
		netfilter-devel@vger.kernel.org
	public-inbox-index netfilter-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netfilter-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git