Hello community,

here is the log from the commit of package tar for openSUSE:Factory checked in 
at 2014-04-06 09:54:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tar (Old)
 and      /work/SRC/openSUSE:Factory/.tar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tar"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tar/tar.changes  2014-01-11 11:12:33.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.tar.new/tar.changes     2014-04-06 
09:54:01.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Mar 26 17:46:39 UTC 2014 - [email protected]
+
+- fix an infinite loop in handle_option (bnc#867919 and bnc#870422)
+  * added tar-fix_eternal_loop_in_handle_option.patch
+
+-------------------------------------------------------------------

New:
----
  tar-fix_eternal_loop_in_handle_option.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.HBMHtn/_old  2014-04-06 09:54:02.000000000 +0200
+++ /var/tmp/diff_new_pack.HBMHtn/_new  2014-04-06 09:54:02.000000000 +0200
@@ -34,6 +34,7 @@
 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 @@
 %patch3 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 %patch10 -p1
 %patch20 -p1
 


++++++ tar-fix_eternal_loop_in_handle_option.patch ++++++
commit c13948fd0aef759e95038bd28416077b12f7dd29
Author: Vitezslav Cizek <[email protected]>
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;
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to