Bugtraq mailing list archives

My buggy tar :-(


From: mouse () RODENTS MONTREAL QC CA (der Mouse)
Date: Fri, 23 Oct 1998 08:48:05 -0400


A while ago, here, I mentioned some evil-archive paranoia in my tar.
Several people asked for copies.

Chiaki Ishikawa <Chiaki.Ishikawa () personal-media co jp>, while working
on merging my "paranoia" code into GNU tar, managed to catch a bug that
my testing had missed.  In retrospect, it's hard to see how I managed
to miss it, but miss it I did.  Mea culpa.

The fix is very simple:

--- tar.c       Sun Sep 27 15:07:55 1998
+++ tar.c+      Thu Oct 22 17:06:35 1998
@@ -5493,6 +5493,9 @@
           { if (DEBUG(J)) fprintf(debugf,"j: readsymlink failed (%s)\n",strerror(errno));
           }
        }
+       else
+       { pbp = slash;
+       }
      }
   }
 }

In case the line numbers disagree with your copy somehow, this goes
near the end of the xpath_paranoia() function.  (The debug line at the
top of the context should be enough to allow patch to find the right
place in the source.)

I seem to have thrown away my list of people to whom I sent individual
copies.  I will be trying to reconstruct that list from my mailer logs;
if you asked for a copy and don't get an individual message from me
soon, I probably missed you, so either use the above patch or send me
mail....

                                        der Mouse

                               mouse () rodents montreal qc ca
                     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B



Current thread: