rpms/amtu/devel amtu-1.0.8-memsep.patch,NONE,1.1 amtu.spec,1.33,1.34
Steve Grubb
sgrubb at fedoraproject.org
Mon Jan 18 16:56:36 UTC 2010
- Previous message: rpms/jd/devel .cvsignore, 1.416, 1.417 jd.spec, 1.478, 1.479 sources, 1.417, 1.418
- Next message: rpms/knemo/F-11 .cvsignore, 1.10, 1.11 knemo.spec, 1.18, 1.19 sources, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sgrubb
Update of /cvs/pkgs/rpms/amtu/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15642
Modified Files:
amtu.spec
Added Files:
amtu-1.0.8-memsep.patch
Log Message:
* Mon Jan 18 2010 Steve Grubb <sgrubb at redhat.com> - 1.0.8-6
- Fix off by one in memory separation test
amtu-1.0.8-memsep.patch:
memsep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE amtu-1.0.8-memsep.patch ---
diff -urp amtu-1.0.8.orig/src/memsep.c amtu-1.0.8/src/memsep.c
--- amtu-1.0.8.orig/src/memsep.c 2010-01-18 10:56:48.000000000 -0500
+++ amtu-1.0.8/src/memsep.c 2010-01-18 11:42:23.000000000 -0500
@@ -102,7 +102,7 @@ void sig_handler(int sig)
#endif
int *get_pointer_in_range(int *start, int *end)
{
- return (int *)((char *)start + (RANDNUM % ((char *)end - (char *)start + 1)));
+ return (int *)((char *)start + (RANDNUM % ((char *)end - (char *)start)));
}
/************************************************************************/
Index: amtu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amtu/devel/amtu.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- amtu.spec 11 Sep 2009 17:48:10 -0000 1.33
+++ amtu.spec 18 Jan 2010 16:56:36 -0000 1.34
@@ -1,13 +1,14 @@
Summary: Abstract Machine Test Utility (AMTU)
Name: amtu
Version: 1.0.8
-Release: 5%{?dist}
+Release: 6%{?dist}
License: CPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/amtueal/
Source0: %{name}-%{version}.tar.gz
Patch1: amtu-1.0.8-doc.patch
Patch2: amtu-1.0.8-init.patch
+Patch3: amtu-1.0.8-memsep.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: audit-libs-devel >= 1.1.2
BuildRequires: automake
@@ -25,6 +26,7 @@ http://www.radium.ncsc.mil/tpep/library/
%setup -q
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
touch ChangeLog
@@ -59,6 +61,9 @@ fi
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
+* Mon Jan 18 2010 Steve Grubb <sgrubb at redhat.com> - 1.0.8-6
+- Fix off by one in memory separation test
+
* Fri Sep 11 2009 Steve Grubb <sgrubb at redhat.com> - 1.0.8-5
- Corrected config file test (#522708)
- Made init script more LSB compatible (#522789)
- Previous message: rpms/jd/devel .cvsignore, 1.416, 1.417 jd.spec, 1.478, 1.479 sources, 1.417, 1.418
- Next message: rpms/knemo/F-11 .cvsignore, 1.10, 1.11 knemo.spec, 1.18, 1.19 sources, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list