diff --git a/tar-1.27.1-T-eternal-loop.patch b/tar-1.27.1-T-eternal-loop.patch new file mode 100644 index 0000000..ffc5b88 --- /dev/null +++ b/tar-1.27.1-T-eternal-loop.patch @@ -0,0 +1,13 @@ +diff --git a/src/names.c b/src/names.c +index e3bbfb6..8f238ba 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; + diff --git a/tar.spec b/tar.spec index 82df1f9..c10da37 100644 --- a/tar.spec +++ b/tar.spec @@ -88,6 +88,13 @@ Patch11: tar-1.27.1-sparse-inf-loops.patch # ~> #916995 Patch12: tar-1.27.1-big-sparse-listing.patch +# Fix inf. loop in -T handling (v1.27.{0,1} only, thus fc21 only) +# ~> uptream (commit 8528958) +# http://www.mail-archive.com/bug-tar@gnu.org/msg04470.html +# ~> (#1083066) +Patch13: tar-1.27.1-T-eternal-loop.patch + + # run "make check" by default %bcond_without check @@ -133,6 +140,7 @@ the rmt package on the remote box. %patch10 -p1 -b .default-acls %patch11 -p1 -b .inf-loops-in-sparse %patch12 -p1 -b .big-sparse +%patch13 -p1 -b .T-eternal-loop autoreconf -v