forked from pool/rsync
This commit is contained in:
parent
d808295955
commit
7e64737048
10
rsync-hlink_crash.patch
Normal file
10
rsync-hlink_crash.patch
Normal 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)
|
@ -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
|
Fri Sep 14 15:03:17 CEST 2007 - ro@suse.de
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Group: Productivity/Networking/Other
|
|||||||
PreReq: %fillup_prereq %insserv_prereq sed grep
|
PreReq: %fillup_prereq %insserv_prereq sed grep
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.6.9
|
Version: 2.6.9
|
||||||
Release: 49
|
Release: 70
|
||||||
Summary: Replacement for RCP/mirror that has Many More Features
|
Summary: Replacement for RCP/mirror that has Many More Features
|
||||||
Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2
|
Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2
|
||||||
Source1: logrotate.rsync
|
Source1: logrotate.rsync
|
||||||
@ -37,6 +37,7 @@ Patch3: system-zlib.diff
|
|||||||
Patch4: rsync-overlong.patch
|
Patch4: rsync-overlong.patch
|
||||||
Patch5: lutimes-hack.diff
|
Patch5: lutimes-hack.diff
|
||||||
Patch6: rsync-fix_fuzzy.patch
|
Patch6: rsync-fix_fuzzy.patch
|
||||||
|
Patch7: rsync-hlink_crash.patch
|
||||||
Url: http://rsync.samba.org/
|
Url: http://rsync.samba.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define with_system_zlib 0
|
%define with_system_zlib 0
|
||||||
@ -75,6 +76,7 @@ cp configure.orig configure
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
|
%patch7
|
||||||
cp configure.orig configure
|
cp configure.orig configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -141,8 +143,10 @@ fi
|
|||||||
%doc %{_mandir}/man1/rsync.1.gz
|
%doc %{_mandir}/man1/rsync.1.gz
|
||||||
%doc %{_mandir}/man5/rsyncd.conf.5.gz
|
%doc %{_mandir}/man5/rsyncd.conf.5.gz
|
||||||
%doc COPYING NEWS README tech_report.ps tech_report.tex
|
%doc COPYING NEWS README tech_report.ps tech_report.tex
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Sep 14 2007 - ro@suse.de
|
||||||
- fix (#300526) restart will start standalone rsync if running
|
- fix (#300526) restart will start standalone rsync if running
|
||||||
under xinetd
|
under xinetd
|
||||||
|
Loading…
Reference in New Issue
Block a user