All of
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <>
To: Eugene Crosser <>
Subject: Re: Python bindings crash when more than one Nftables is instantiated
Date: Wed, 15 Sep 2021 17:04:48 +0200	[thread overview]
Message-ID: <20210915150448.GA19577@salvia> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

On Tue, Sep 14, 2021 at 07:46:16PM +0200, Eugene Crosser wrote:
> Hello,
> it seems to me that this should not be happening. Use case is not as
> pathological as it may seem: your program may be using different third party
> modules, each of them instantiate `Nftables` interface.
> $ sudo python
> [sudo] password for echerkashin:
> Python 3.9.7 (default, Sep  3 2021, 06:18:44)
> [GCC 11.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from nftables import Nftables
> >>> n1=Nftables()
> >>> n2=Nftables()
> >>> <Ctrl-D>
> double free or corruption (top)
> Aborted
> Note that it happens on exit (possibly on the second call to __del__()).
> nftables v0.9.9

Upstream fix:

Thanks for reporting.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-09-15 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 17:46 Python bindings crash when more than one Nftables is instantiated Eugene Crosser
2021-09-15 15:04 ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210915150448.GA19577@salvia \ \ \ \

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.