rpms/ipv6calc/devel ipv6calc-0.49-templen.patch, NONE, 1.1 ipv6calc-0.49-copy_struct.patch, 1.1, 1.2 ipv6calc.spec, 1.12, 1.13
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Sep 15 11:38:11 UTC 2005
Author: rvokal
Update of /cvs/dist/rpms/ipv6calc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12068
Modified Files:
ipv6calc-0.49-copy_struct.patch ipv6calc.spec
Added Files:
ipv6calc-0.49-templen.patch
Log Message:
- increase len of tmpstr
ipv6calc-0.49-templen.patch:
showinfo.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE ipv6calc-0.49-templen.patch ---
--- ipv6calc-0.49/ipv6calc/showinfo.c.old 2005-09-14 23:30:46.000000000 +0200
+++ ipv6calc-0.49/ipv6calc/showinfo.c 2005-09-15 13:19:00.000000000 +0200
@@ -286,7 +286,7 @@
#define DEBUG_function_name "showinfo_ipv6addr"
int showinfo_ipv6addr(const ipv6calc_ipv6addr *ipv6addrp1, const uint32_t formatoptions) {
int retval = 1, i, j, flag_prefixuse, registry;
- char tempstring[NI_MAXHOST] = "", helpstring[NI_MAXHOST] = "";
+ char tempstring[NI_MAXHOST+1] = "", helpstring[NI_MAXHOST+1] = "";
ipv6calc_ipv6addr ipv6addr, *ipv6addrp;
ipv6calc_ipv4addr ipv4addr;
ipv6calc_macaddr macaddr;
ipv6calc-0.49-copy_struct.patch:
libipv6addr.c | 6 +-----
1 files changed, 1 insertion(+), 5 deletions(-)
Index: ipv6calc-0.49-copy_struct.patch
===================================================================
RCS file: /cvs/dist/rpms/ipv6calc/devel/ipv6calc-0.49-copy_struct.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ipv6calc-0.49-copy_struct.patch 15 Sep 2005 08:54:10 -0000 1.1
+++ ipv6calc-0.49-copy_struct.patch 15 Sep 2005 11:38:07 -0000 1.2
@@ -1,5 +1,5 @@
--- ipv6calc-0.49/lib/libipv6addr.c.old 2005-09-14 23:30:44.000000000 +0200
-+++ ipv6calc-0.49/lib/libipv6addr.c 2005-09-15 10:48:07.000000000 +0200
++++ ipv6calc-0.49/lib/libipv6addr.c 2005-09-15 10:52:28.000000000 +0200
@@ -236,12 +236,8 @@
*/
#define DEBUG_function_name "libipv6addr/ipv6addr_copy"
Index: ipv6calc.spec
===================================================================
RCS file: /cvs/dist/rpms/ipv6calc/devel/ipv6calc.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ipv6calc.spec 15 Sep 2005 08:54:10 -0000 1.12
+++ ipv6calc.spec 15 Sep 2005 11:38:07 -0000 1.13
@@ -10,6 +10,7 @@
BuildRequires: krb5-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Patch0: ipv6calc-0.49-copy_struct.patch
+Patch1: ipv6calc-0.49-templen.patch
%description
ipv6calc is a small utility which formats and calculates IPv6 addresses in
@@ -23,7 +24,8 @@
%prep
%setup -q
-%patch0 -p1 -b .old
+%patch0 -p1 -b .copy_struct
+%patch1 -p1 -b .templen
%configure
%build
@@ -59,6 +61,7 @@
%changelog
* Thu Sep 15 2005 Radek Vokal <rvokal at redhat.com> 0.49-2
- smash stack fix in ipv6calc_copy
+- increase len of tmpstr
* Thu Sep 15 2005 Radek Vokal <rvokal at redhat.com> 0.49-1
- upgrade to 0.49
More information about the fedora-cvs-commits
mailing list