SHA256
3
0
forked from pool/tar

Accepting request 227619 from home:vitezslav_cizek:branches:Base:System

- fix an infinite loop in handle_option (bnc#867919 and bnc#870422)
  * added tar-fix_eternal_loop_in_handle_option.patch

OBS-URL: https://build.opensuse.org/request/show/227619
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=53
This commit is contained in:
Marcus Meissner 2014-03-28 10:52:45 +00:00 committed by Git OBS Bridge
parent d0a5ea9bd1
commit 5f0ee07258
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,19 @@
commit c13948fd0aef759e95038bd28416077b12f7dd29
Author: Vitezslav Cizek <vcizek@suse.cz>
Date: Wed Mar 26 18:34:53 2014 +0100
fix an eternal loop in handle_option
diff --git a/src/names.c b/src/names.c
index 9fc0ad5..963ec07 100644
--- a/src/names.c
+++ b/src/names.c
@@ -439,7 +439,7 @@ handle_option (const char *str)
int i;
while (*str && isspace (*str))
- ;
+ str++;
if (*str != '-')
return 1;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 26 17:46:39 UTC 2014 - vcizek@suse.com
- fix an infinite loop in handle_option (bnc#867919 and bnc#870422)
* added tar-fix_eternal_loop_in_handle_option.patch
-------------------------------------------------------------------
Tue Jan 7 11:09:24 CET 2014 - llipavsky@suse.com

View File

@ -34,6 +34,7 @@ Source2: tar.keyring
Patch3: tar-wildcards.patch
Patch6: tar-backup-spec-fix-paths.patch
Patch7: tar-1.26-remove_O_NONBLOCK.patch
Patch8: tar-fix_eternal_loop_in_handle_option.patch
Patch10: paxutils-rtapelib_mtget.patch
Patch20: add_readme-tests.patch
%if 0%{?suse_version} >= %min_suse_ver
@ -77,6 +78,7 @@ Upstream testsuite for the package
%patch3 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch10 -p1
%patch20 -p1