netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] datatype: avoid crash in debug mode when printing integers
Date: Tue, 30 Jun 2015 02:07:57 +0200	[thread overview]
Message-ID: <20150630000757.GA6876@salvia> (raw)
In-Reply-To: <1435308644-15892-1-git-send-email-fw@strlen.de>

On Fri, Jun 26, 2015 at 10:50:44AM +0200, Florian Westphal wrote:
> nft -i --debug=all
> nft> add rule ip filter foo mark 42
> 
> dies with sigfpe; seems mpz doesn't like len 0:
> #1  0x0805f2ee in mpz_export_data (data=0xbfeda588, op=0x9d9fb08, byteorder=BYTEORDER_HOST_ENDIAN, len=0) at gmputil.c:115
> 
> After patch this prints 0x0000002a.

I have pushed this to nft. Thanks.


      reply	other threads:[~2015-06-30  0:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26  8:50 [PATCH nft] datatype: avoid crash in debug mode when printing integers Florian Westphal
2015-06-30  0:07 ` Pablo Neira Ayuso [this message]

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=20150630000757.GA6876@salvia \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --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).