SHA256
1
0
forked from pool/rsync
OBS User unknown 2007-11-08 23:46:35 +00:00 committed by Git OBS Bridge
parent d808295955
commit 7e64737048
3 changed files with 22 additions and 2 deletions

10
rsync-hlink_crash.patch Normal file
View File

@ -0,0 +1,10 @@
--- hlink.c 2007/11/08 15:44:15 1.3
+++ hlink.c 2007/11/08 15:44:52
@@ -299,6 +299,7 @@
statx sx;
STRUCT_STAT st;
int statret, ndx = master;
+ memset(&sx,0,sizeof(sx));
file->F_HLINDEX = FINISHED_LINK;
if (link_stat(f_name(file, hlink1), &st, 0) < 0)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 8 16:45:30 CET 2007 - ro@suse.de
- fix uninitialized struct sx in hlink.c:hard_link_cluster
to prevent crash when using acls (#338358)
-------------------------------------------------------------------
Fri Sep 14 15:03:17 CEST 2007 - ro@suse.de

View File

@ -23,7 +23,7 @@ Group: Productivity/Networking/Other
PreReq: %fillup_prereq %insserv_prereq sed grep
AutoReqProv: on
Version: 2.6.9
Release: 49
Release: 70
Summary: Replacement for RCP/mirror that has Many More Features
Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2
Source1: logrotate.rsync
@ -37,6 +37,7 @@ Patch3: system-zlib.diff
Patch4: rsync-overlong.patch
Patch5: lutimes-hack.diff
Patch6: rsync-fix_fuzzy.patch
Patch7: rsync-hlink_crash.patch
Url: http://rsync.samba.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define with_system_zlib 0
@ -75,6 +76,7 @@ cp configure.orig configure
%patch4 -p1
%patch5
%patch6
%patch7
cp configure.orig configure
%build
@ -141,8 +143,10 @@ fi
%doc %{_mandir}/man1/rsync.1.gz
%doc %{_mandir}/man5/rsyncd.conf.5.gz
%doc COPYING NEWS README tech_report.ps tech_report.tex
%changelog
* Thu Nov 08 2007 - ro@suse.de
- fix uninitialized struct sx in hlink.c:hard_link_cluster
to prevent crash when using acls (#338358)
* Fri Sep 14 2007 - ro@suse.de
- fix (#300526) restart will start standalone rsync if running
under xinetd