Hello community,
here is the log from the commit of package libnetfilter_cthelper for
openSUSE:Factory checked in at 2014-12-09 09:14:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnetfilter_cthelper (Old)
and /work/SRC/openSUSE:Factory/.libnetfilter_cthelper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnetfilter_cthelper"
Changes:
--------
---
/work/SRC/openSUSE:Factory/libnetfilter_cthelper/libnetfilter_cthelper.changes
2014-09-26 11:21:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.libnetfilter_cthelper.new/libnetfilter_cthelper.changes
2014-12-09 09:13:58.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Dec 8 17:27:32 UTC 2014 - [email protected]
+
+- Remove version from subinclude directory; it tends to break
+ recompiles of third software after a library update.
+
+-------------------------------------------------------------------
+Sun Dec 7 19:58:44 UTC 2014 - [email protected]
+
+- Add fix_h_expect_policy_free.patch to fix crash due to following
+ a just-freed pointer [bnc#908875]
+
+-------------------------------------------------------------------
New:
----
fix_h_expect_policy_free.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnetfilter_cthelper.spec ++++++
--- /var/tmp/diff_new_pack.VtuwDb/_old 2014-12-09 09:13:59.000000000 +0100
+++ /var/tmp/diff_new_pack.VtuwDb/_new 2014-12-09 09:13:59.000000000 +0100
@@ -31,6 +31,7 @@
Source2:
http://netfilter.org/projects/libnetfilter_cthelper/files/%name-%version.tar.bz2.sig
Source3: baselibs.conf
Source4: %name.keyring
+Patch1: fix_h_expect_policy_free.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: autoconf
#BuildRequires: automake >= 1.6
@@ -61,12 +62,13 @@
%prep
%setup -q
+%patch -P 1 -p1
%build
if [ ! -e configure ]; then
autoreconf -fi;
fi;
-%configure --disable-static --includedir=%_includedir/%name-%version
+%configure --disable-static --includedir="%_includedir/%name"
make %{?_smp_mflags}
%install
@@ -83,7 +85,7 @@
%files devel
%defattr(-,root,root)
-%_includedir/%name-%version
+%_includedir/%name/
%_libdir/libnetfilter_cthelper.so
%_libdir/pkgconfig/libnetfilter_cthelper.pc
++++++ fix_h_expect_policy_free.patch ++++++
From: Chris Horler <[email protected]>
Date: 2014-12-08 11:54:20 CET
References: https://bugzilla.netfilter.org/show_bug.cgi?id=990
Dereferencing h after freeing leads to undefined behavior.
--- libnetfilter_cthelper-1.0.0.orig/src/libnetfilter_cthelper.c
2012-06-05 17:59:28.810356258 +0100
+++ libnetfilter_cthelper-1.0.0/src/libnetfilter_cthelper.c 2014-12-07
19:52:55.769975500 +0000
@@ -113,11 +113,11 @@
{
int i;
- free(h);
for (i=0; i<NF_CT_HELPER_CLASS_MAX; i++) {
if (h->expect_policy[i])
free(h->expect_policy[i]);
}
+ free(h);
}
EXPORT_SYMBOL(nfct_helper_free);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]