auto-import changelog data from iptables-1.2.11-2.src.rpm

Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-2
- fixed free bug in iptables (#128322)
This commit is contained in:
cvsdist 2004-09-09 06:26:30 +00:00
parent a46503f82e
commit 02e432f320
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,18 @@
--- iptables-1.2.11/iptables.c.free 2004-08-25 19:10:34.098917816 +0200
+++ iptables-1.2.11/iptables.c 2004-08-25 19:12:42.366228649 +0200
@@ -2344,11 +2344,11 @@
e = NULL;
}
- for (c = 0; c < nsaddrs; c++)
- free(&saddrs[c]);
+ /* free the whole array - allocated with calloc */
+ free(saddrs);
- for (c = 0; c < ndaddrs; c++)
- free(&daddrs[c]);
+ /* free the whole array - allocated with calloc */
+ free(daddrs);
if (opts != original_opts) {
free(opts);

View File

@ -4,7 +4,7 @@
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities.
Version: 1.2.11
Release: 1
Release: 2
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
@ -15,6 +15,7 @@ Patch2: iptables-1.2.8-nolibnsl.patch
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
Group: System Environment/Base
URL: http://www.netfilter.org/
BuildRoot: %{_tmppath}/%{name}-buildroot
@ -70,6 +71,7 @@ cd ..
%patch4 -p1 -b .netlink
%patch5 -p1 -b .selinux
%patch6 -p1 -b .counters
%patch7 -p1 -b .free
# Put it to a reasonable place
find . -type f -exec perl -pi -e "s,/usr/local,%{prefix},g" {} \;
@ -144,6 +146,9 @@ fi
%endif
%changelog
* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-2
- fixed free bug in iptables (#128322)
* Tue Jun 22 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-1
- new version 1.2.11