[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter-devel
Subject:    Re: [patch] ipset 2.3.0 segfault on '-U :all: {:all:|:default:}
From:       Krzysztof Oledzki <ole () ans ! pl>
Date:       2008-05-30 10:02:57
Message-ID: Pine.LNX.4.64.0805301200280.17471 () bizon ! gios ! gov ! pl
[Download RAW message or body]

On Fri, 30 May 2008, Jozsef Kadlecsik wrote:

> On Thu, 29 May 2008, Tom Eastep wrote:
>
>> Segfault occurs at line 1641 as a result of dereferencing a null pointer while
>> testing the set type for iptreemap.
>>
>> Patch attached.
>
> Thank you the report and the patch: I'll apply it as soon as the svn->git
> migration of ipset source is ready.

This remains me that I forget to send this little patch to make checkentry 
static.

Best regards,

 			Krzysztof Olędzki
["ipset-checkentry-static.patch" (TEXT/PLAIN)]

--- ipt_set.c	2007-08-28 13:29:12.000000000 +0200
+++ ipt_set.c-1	2008-05-30 11:58:02.000000000 +0200
@@ -57,7 +57,7 @@
 }
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
-bool
+static bool
 #else
 static int
 #endif

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic