new version 3.1.3

Resolves CVE-2018-5764
This commit is contained in:
Michal Ruprich 2018-01-29 10:02:44 +01:00
parent fbf0d67ac2
commit 46b2056c2e
4 changed files with 18 additions and 12 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ rsync-patches-3.0.8.tar.gz
/rsync-patches-3.1.0.tar.gz /rsync-patches-3.1.0.tar.gz
/rsync-3.1.2.tar.gz /rsync-3.1.2.tar.gz
/rsync-patches-3.1.2.tar.gz /rsync-patches-3.1.2.tar.gz
/rsync-3.1.3.tar.gz
/rsync-patches-3.1.3.tar.gz

View File

@ -69,18 +69,18 @@ Index: rsync-3.1.0/rsync.yo
dit(bf(-4, --ipv4) or bf(-6, --ipv6)) Tells rsync to prefer IPv4/IPv6 dit(bf(-4, --ipv4) or bf(-6, --ipv6)) Tells rsync to prefer IPv4/IPv6
when creating sockets. This only affects sockets that rsync has direct when creating sockets. This only affects sockets that rsync has direct
control over, such as the outgoing socket when directly contacting an control over, such as the outgoing socket when directly contacting an
Index: rsync-3.1.0/syscall.c diff --git a/syscall.c b/syscall.c
=================================================================== index c46a8b4..6620563 100644
--- rsync-3.1.0.orig/syscall.c --- a/syscall.c
+++ rsync-3.1.0/syscall.c +++ b/syscall.c
@@ -40,6 +40,7 @@ extern int read_only; @@ -42,6 +42,7 @@ extern int inplace;
extern int list_only; extern int preallocate_files;
extern int preserve_perms; extern int preserve_perms;
extern int preserve_executability; extern int preserve_executability;
+extern int noatime; +extern int noatime;
#define RETURN_ERROR_IF(x,e) \ #ifndef S_BLKSIZE
do { \ # if defined hpux || defined __hpux__ || defined __hpux
@@ -189,6 +190,10 @@ int do_open(const char *pathname, int fl @@ -189,6 +190,10 @@ int do_open(const char *pathname, int fl
RETURN_ERROR_IF(dry_run, 0); RETURN_ERROR_IF(dry_run, 0);
RETURN_ERROR_IF_RO_OR_LO; RETURN_ERROR_IF_RO_OR_LO;

View File

@ -8,8 +8,8 @@
Summary: A program for synchronizing files over a network Summary: A program for synchronizing files over a network
Name: rsync Name: rsync
Version: 3.1.2 Version: 3.1.3
Release: 7%{?dist} Release: 1%{?dist}
Group: Applications/Internet Group: Applications/Internet
URL: http://rsync.samba.org/ URL: http://rsync.samba.org/
@ -120,6 +120,10 @@ rm -rf $RPM_BUILD_ROOT
%systemd_postun_with_restart rsyncd.service %systemd_postun_with_restart rsyncd.service
%changelog %changelog
* Mon Jan 29 2018 Michal Ruprich <mruprich@redhat.com> - 3.1.3-1
- new version 3.1.3
- Resolves CVE-2018-5764
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-7 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1,2 +1,2 @@
0f758d7e000c0f7f7d3792610fad70cb rsync-3.1.2.tar.gz SHA512 (rsync-3.1.3.tar.gz) = 8385f4c0ea37e7a1da3cf45794154f5bc4d1c49bc625ba3b5f85adaf3eafe6d71c15bdcb1410bde731e5d4c19aff3331606637462fa27a68dc3e13192dd78f99
f412602a3cba0b872adfaed905a0aa28 rsync-patches-3.1.2.tar.gz SHA512 (rsync-patches-3.1.3.tar.gz) = eb0762faa8a2c170986e7e94a75f5dbe8fdb86b980bacc60e92df2c60e6340fdafa5256d67284d52ac32e097663c596533007db91d2b3ec6088a381cb229dc9f