netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Guruswamy B <guru2018@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nftables PATCH] fix nft -i command crashes when try to input multi line command
Date: Tue, 10 Jun 2014 12:55:52 +0200	[thread overview]
Message-ID: <20140610105552.GA9228@localhost> (raw)
In-Reply-To: <CAHSpA5_tm8PJKSCYwo4RObrzm25tGNX+j_7=K8ySB5+NdK0N9g@mail.gmail.com>

On Sun, Jun 08, 2014 at 12:44:16AM +0530, Guruswamy B wrote:
> Hello,
>  When try to input multiline command in "nft -i", it crashes.
> 
>  Issue is, function "cli_append_multiline" return null in case of
> multiline command,
>  But in the calling function "cli_complete", cli_exit is getting
> called, which in turn calls "rl_callback_handler_remove"  and the
> handler is getting removed.

Could you include an example on how to reproduce the crash that I can
append to this patch description?

Thanks.

  reply	other threads:[~2014-06-10 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-07 19:14 [nftables PATCH] fix nft -i command crashes when try to input multi line command Guruswamy B
2014-06-10 10:55 ` Pablo Neira Ayuso [this message]
2014-06-10 11:05   ` Guruswamy Basavaiah
2014-06-10 11:22     ` Pablo Neira Ayuso
2014-06-10 15:21       ` Pablo Neira Ayuso

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=20140610105552.GA9228@localhost \
    --to=pablo@netfilter.org \
    --cc=guru2018@gmail.com \
    --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 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).