netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nft crashes on empty interface name
@ 2017-11-23 12:29 Harsha Sharma
  2017-11-23 12:54 ` Florian Westphal
  2017-11-23 13:35 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Harsha Sharma @ 2017-11-23 12:29 UTC (permalink / raw)
  To: Pablo Neira Ayuso, netfilter-devel

Hello,
This is with reference to bug 1198 reported as "nft crashes on empty
interface name". Here is a link for the same
https://bugzilla.netfilter.org/show_bug.cgi?id=1198
How am I supposed to test this as I just get "syntax error, unexpected
newline" for empty interface name ?
Thanks in advance.

Regards,
Harsha Sharma

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nft crashes on empty interface name
  2017-11-23 12:29 nft crashes on empty interface name Harsha Sharma
@ 2017-11-23 12:54 ` Florian Westphal
  2017-11-23 13:36   ` Pablo Neira Ayuso
  2017-11-23 13:35 ` Pablo Neira Ayuso
  1 sibling, 1 reply; 4+ messages in thread
From: Florian Westphal @ 2017-11-23 12:54 UTC (permalink / raw)
  To: Harsha Sharma; +Cc: Pablo Neira Ayuso, netfilter-devel

Harsha Sharma <harshasharmaiitr@gmail.com> wrote:
> This is with reference to bug 1198 reported as "nft crashes on empty
> interface name". Here is a link for the same
> https://bugzilla.netfilter.org/show_bug.cgi?id=1198
> How am I supposed to test this as I just get "syntax error, unexpected
> newline" for empty interface name ?

nft add rule filter input meta iifname '""'
nft: evaluate.c:238: expr_evaluate_string: Assertion `strlen(data) > 0' failed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nft crashes on empty interface name
  2017-11-23 12:29 nft crashes on empty interface name Harsha Sharma
  2017-11-23 12:54 ` Florian Westphal
@ 2017-11-23 13:35 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2017-11-23 13:35 UTC (permalink / raw)
  To: Harsha Sharma; +Cc: netfilter-devel

On Thu, Nov 23, 2017 at 05:59:51PM +0530, Harsha Sharma wrote:
> Hello,
> This is with reference to bug 1198 reported as "nft crashes on empty
> interface name". Here is a link for the same
> https://bugzilla.netfilter.org/show_bug.cgi?id=1198
> How am I supposed to test this as I just get "syntax error, unexpected
> newline" for empty interface name ?

# nft add rule x y iifname \"\"
nft: evaluate.c:238: expr_evaluate_string: Assertion `strlen(data) >
0' failed.
Abort

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nft crashes on empty interface name
  2017-11-23 12:54 ` Florian Westphal
@ 2017-11-23 13:36   ` Pablo Neira Ayuso
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2017-11-23 13:36 UTC (permalink / raw)
  To: Florian Westphal; +Cc: Harsha Sharma, netfilter-devel

On Thu, Nov 23, 2017 at 01:54:17PM +0100, Florian Westphal wrote:
> Harsha Sharma <harshasharmaiitr@gmail.com> wrote:
> > This is with reference to bug 1198 reported as "nft crashes on empty
> > interface name". Here is a link for the same
> > https://bugzilla.netfilter.org/show_bug.cgi?id=1198
> > How am I supposed to test this as I just get "syntax error, unexpected
> > newline" for empty interface name ?
> 
> nft add rule filter input meta iifname '""'
> nft: evaluate.c:238: expr_evaluate_string: Assertion `strlen(data) > 0' failed.

Sorry, I haven't seen you've replied :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-23 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-23 12:29 nft crashes on empty interface name Harsha Sharma
2017-11-23 12:54 ` Florian Westphal
2017-11-23 13:36   ` Pablo Neira Ayuso
2017-11-23 13:35 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).