Package: ipset
Version: 2.3.0-1
Severity: normal
Tags: upstream patch

Trying to run ipset --unbind :all: :all: causes a segfault.  Reported
upstream at
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=539

Trivial patch to fix it:
--- ipset.c.orig        2008-05-15 13:02:26.000000000 -0400
+++ ipset.c     2008-05-15 13:02:44.000000000 -0400
@@ -1638,7 +1638,7 @@
        DP("(%s, %s) -> %s", set ? set->name : IPSET_TOKEN_ALL, adt, binding);
 
        /* Ugly */
-       if (strcmp(set->settype->typename, "iptreemap") == 0)
+       if (set && strcmp(set->settype->typename, "iptreemap") == 0)
                exit_error(PARAMETER_PROBLEM,
                        "iptreemap type of sets cannot be used at binding 
operations\n");
        /* Alloc memory for the data to send */


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.3-1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ipset depends on:
ii  iptables                      1.4.0-3    administration tools for packet fi
ii  libc6                         2.7-10     GNU C Library: Shared libraries

ipset recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to