Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37044709
en ru br
ALT Linux repos
S:3.4-alt9
5.0: 3.4-alt1
4.1: 3.4-alt1
4.0: 3.4-alt1
3.0: 3.2-alt1

Group :: Archiving/Backup
RPM: pax

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pax-3.4-alt-gcc9.patch
Download


diff --git a/pax/src/tar.c b/pax/src/tar.c
index 4b8c352..f552914 100644
--- a/pax/src/tar.c
+++ b/pax/src/tar.c
@@ -1096,7 +1096,7 @@ ustar_wr (register ARCHD * arcn)
     }
 
   strncpy (hd->magic, TMAGIC, TMAGLEN);
-  strncpy (hd->version, TVERSION, TVERSLEN);
+  memcpy  (hd->version, TVERSION, TVERSLEN);
 
   /*
    * Set the remaining fields. We only write 12 bit of the mode field
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin