Blob Blame History Raw
--- pax-3.4/src/tar.c.rdtruncate	2007-07-13 15:33:05.000000000 +0200
+++ pax-3.4/src/tar.c	2007-07-13 15:34:23.000000000 +0200
@@ -821,7 +821,7 @@ ustar_rd (ARCHD *arcn, char *buf)
   if (gnu_hack_string)
     {
       arcn->nlen = cnt + strlcpy (dest, gnu_hack_string,
-				  MIN(TNMSZ+1, sizeof (arcn->name) - cnt));
+				  sizeof (arcn->name) - cnt);
       free(gnu_hack_string);
       gnu_hack_string = NULL;
     } else