Accepting request 228059 from Base:System
- fix an infinite loop in handle_option (bnc#867919 and bnc#870422) * added tar-fix_eternal_loop_in_handle_option.patch (forwarded request 227619 from vitezslav_cizek) OBS-URL: https://build.opensuse.org/request/show/228059 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=49
This commit is contained in:
commit
6eb87795ca
19
tar-fix_eternal_loop_in_handle_option.patch
Normal file
19
tar-fix_eternal_loop_in_handle_option.patch
Normal 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;
|
||||||
|
|
@ -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
|
Tue Jan 7 11:09:24 CET 2014 - llipavsky@suse.com
|
||||||
|
|
||||||
|
2
tar.spec
2
tar.spec
@ -34,6 +34,7 @@ Source2: tar.keyring
|
|||||||
Patch3: tar-wildcards.patch
|
Patch3: tar-wildcards.patch
|
||||||
Patch6: tar-backup-spec-fix-paths.patch
|
Patch6: tar-backup-spec-fix-paths.patch
|
||||||
Patch7: tar-1.26-remove_O_NONBLOCK.patch
|
Patch7: tar-1.26-remove_O_NONBLOCK.patch
|
||||||
|
Patch8: tar-fix_eternal_loop_in_handle_option.patch
|
||||||
Patch10: paxutils-rtapelib_mtget.patch
|
Patch10: paxutils-rtapelib_mtget.patch
|
||||||
Patch20: add_readme-tests.patch
|
Patch20: add_readme-tests.patch
|
||||||
%if 0%{?suse_version} >= %min_suse_ver
|
%if 0%{?suse_version} >= %min_suse_ver
|
||||||
@ -77,6 +78,7 @@ Upstream testsuite for the package
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user