Re: [nftables PATCH] fix nft -i command crashes when try to input multi line command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 Steps to reproduce.
 [root@localhost ~]# nft -i
nft> add table filter
nft> list table \

readline: readline_callback_read_char() called with no handler!
Aborted (core dumped)
[root@localhost ~]#


Guru

On 10 June 2014 16:25, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> 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.



-- 
Guruswamy Basavaiah
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux