readlink(2) does not NULL terminate the buffer it reads in, but tar expected it
authorEric Andersen <andersen@codepoet.org>
Mon, 26 Jun 2000 10:54:06 +0000 (10:54 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 26 Jun 2000 10:54:06 +0000 (10:54 -0000)
commit3adffb7fc86ece4a9c8f550abf049a459f1ea1f6
tree7cf083d19187362f06120705328ce2fa56b8a36f
parent10dc9d4d17e6880bfdfd253716ce72ec1243227f
readlink(2) does not NULL terminate the buffer it reads in, but tar expected it
to do so.  This caused symlinks stored in tarballs to likely have trailing
crap in the stored symlink named.  Oops.
 -Erik
archival/tar.c
tar.c