rpms/rsync/F-8 rsync-3.0.1-xattr-alloc.diff, NONE, 1.1 rsync.spec, 1.45, 1.46
Simo Sorce (simo)
fedora-extras-commits at redhat.com
Tue Apr 8 20:56:09 UTC 2008
- Previous message (by thread): rpms/gdm/devel gdm.spec,1.366,1.367
- Next message (by thread): rpms/xorg-x11-server/devel .cvsignore, 1.42, 1.43 commitid, 1.14, 1.15 sources, 1.36, 1.37 xorg-x11-server.spec, 1.322, 1.323 xserver-1.5.0-dont-bitch-about-record.patch, 1.1, NONE xserver-1.5.0-fix-dri2-crash-on-fail.patch, 1.1, NONE xserver-1.5.0-fix-lsl-quirk.patch, 1.1, NONE xserver-1.5.0-handle-failing-dri-create-screen.patch, 1.1, NONE xserver-1.5.0-unbreak-dri2-glcore-visuals.patch, 1.1, NONE xserver-1.5.0-unselinux.patch, 1.1, NONE xserver-1.5.0-vmmouse.patch, 1.3, NONE xserver-1.5.0-wfs.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: simo
Update of /cvs/pkgs/rpms/rsync/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29686
Modified Files:
rsync.spec
Added Files:
rsync-3.0.1-xattr-alloc.diff
Log Message:
* Tue Apr 8 2008 Simo Sorce <ssorce at redhat.com> 2.6.9-4.fc8
- Security release: http://rsync.samba.org/security.html#s3_0_2
rsync-3.0.1-xattr-alloc.diff:
--- NEW FILE rsync-3.0.1-xattr-alloc.diff ---
--- a/util.c
+++ b/util.c
@@ -1329,7 +1329,7 @@ void *_new_array(unsigned long num, unsigned int size, int use_calloc)
return use_calloc ? calloc(num, size) : malloc(num * size);
}
-void *_realloc_array(void *ptr, unsigned int size, unsigned long num)
+void *_realloc_array(void *ptr, unsigned int size, size_t num)
{
if (num >= MALLOC_MAX/size)
return NULL;
@@ -1550,7 +1550,10 @@ void *expand_item_list(item_list *lp, size_t item_size,
new_size += incr;
else
new_size *= 2;
- new_ptr = realloc_array(lp->items, char, new_size * item_size);
+ if (new_size < lp->malloced)
+ overflow_exit("expand_item_list");
+ /* Using _realloc_array() lets us pass the size, not a type. */
+ new_ptr = _realloc_array(lp->items, item_size, new_size);
if (verbose >= 4) {
rprintf(FINFO, "[%s] expand %s to %.0f bytes, did%s move\n",
who_am_i(), desc, (double)new_size * item_size,
Index: rsync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsync/F-8/rsync.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- rsync.spec 13 Oct 2007 22:53:55 -0000 1.45
+++ rsync.spec 8 Apr 2008 20:55:29 -0000 1.46
@@ -1,7 +1,7 @@
Summary: A program for synchronizing files over a network.
Name: rsync
Version: 2.6.9
-Release: 3.2%{?dist}
+Release: 4%{?dist}
Group: Applications/Internet
# TAG: for pre versions use
#Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre1.tar.gz
@@ -9,6 +9,7 @@
Source1: rsync.xinetd
Patch1: rsync-2.6.9-acl-xattr-delete-bug.patch
Patch2: rsync-2.6.9-hlink-segv.patch
+Patch3: rsync-3.0.1-xattr-alloc.diff
BuildRequires: libacl-devel, libattr-devel, autoconf, make, gcc, popt-devel
Prefix: %{_prefix}
BuildRoot: /var/tmp/%{name}-root
@@ -31,6 +32,7 @@
patch -p1 < patches/xattrs.diff
%patch1 -p1 -b .acl_xattrs_bug
%patch2 -p1 -b .hlink_segv
+%patch3 -p1 -b .xattr-alloc
%build
rm -fr autom4te.cache
@@ -60,6 +62,9 @@
%{_mandir}/man5/rsyncd.conf.5*
%changelog
+* Tue Apr 8 2008 Simo Sorce <ssorce at redhat.com> 2.6.9-4.fc8
+- Security release: http://rsync.samba.org/security.html#s3_0_2
+
* Sat Oct 13 2007 Simo Sorce <ssorce at redhat.com> 2.6.9-3.2.fc8
- Add flags = IPv6 to rsync.xinetd (bz#330301)
- Previous message (by thread): rpms/gdm/devel gdm.spec,1.366,1.367
- Next message (by thread): rpms/xorg-x11-server/devel .cvsignore, 1.42, 1.43 commitid, 1.14, 1.15 sources, 1.36, 1.37 xorg-x11-server.spec, 1.322, 1.323 xserver-1.5.0-dont-bitch-about-record.patch, 1.1, NONE xserver-1.5.0-fix-dri2-crash-on-fail.patch, 1.1, NONE xserver-1.5.0-fix-lsl-quirk.patch, 1.1, NONE xserver-1.5.0-handle-failing-dri-create-screen.patch, 1.1, NONE xserver-1.5.0-unbreak-dri2-glcore-visuals.patch, 1.1, NONE xserver-1.5.0-unselinux.patch, 1.1, NONE xserver-1.5.0-vmmouse.patch, 1.3, NONE xserver-1.5.0-wfs.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list