[tw] - applied second part of cleanup patch from (#131848): thanks to Steve

Grubb for the patch
This commit is contained in:
Thomas Woerner 2004-09-16 16:12:07 +00:00
parent 02e432f320
commit 6408c4d7aa
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -ur iptables-1.2.11.orig/extensions/libipt_rpc.c iptables-1.2.11/extensions/libipt_rpc.c
--- iptables-1.2.11.orig/extensions/libipt_rpc.c 2004-09-05 11:27:50.000000000 -0400
+++ iptables-1.2.11/extensions/libipt_rpc.c 2004-09-05 11:41:11.000000000 -0400
@@ -252,7 +252,7 @@
idup = 0;
memset(buf, 0, sizeof(buf));
- dst = (char *)buf - 1;
+ dst = (char *)buf;
}
}

View File

@ -4,7 +4,7 @@
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities.
Version: 1.2.11
Release: 2
Release: 3
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
@ -16,6 +16,7 @@ Patch4: iptables-1.2.9-netlink.patch
Patch5: iptables-1.2.9-selinux.patch
Patch6: iptables-1.2.10-counters.patch
Patch7: iptables-1.2.11-free.patch
Patch8: iptables-1.2.11-cleanup.patch
Group: System Environment/Base
URL: http://www.netfilter.org/
BuildRoot: %{_tmppath}/%{name}-buildroot
@ -72,6 +73,7 @@ cd ..
%patch5 -p1 -b .selinux
%patch6 -p1 -b .counters
%patch7 -p1 -b .free
%patch8 -p1 -b .cleanup
# Put it to a reasonable place
find . -type f -exec perl -pi -e "s,/usr/local,%{prefix},g" {} \;
@ -146,6 +148,10 @@ fi
%endif
%changelog
* Thu Sep 16 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-3
- applied second part of cleanup patch from (#131848): thanks to Steve Grubb
for the patch
* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-2
- fixed free bug in iptables (#128322)