libtar-dev - C library for manipulating tar archives (development files)

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package name libtar-dev
Package version 1.2.20
Package release 4+b1
Package architecture i386
Package type deb
Installed size 99 B
Download size 42.99 KB
Official Mirror
Contains static library, headers, example code and development manpages
for libtar


Package Version Architecture Repository
libtar-dev_1.2.20-4+b1_amd64.deb 1.2.20 amd64 Debian Main
libtar-dev - - -


Name Value
libtar0 = 1.2.20-4+b1


Type URL
Binary Package libtar-dev_1.2.20-4+b1_i386.deb
Source Package libtar

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtar-dev deb package:
    # sudo apt-get install libtar-dev




2014-05-03 - Magnus Holmgren <>
libtar (1.2.20-4) unstable; urgency=high
* no_maxpathlen.patch: Half of the part of the patch modifying
compat/dirname.c was missing, causing libtar's dirname to always
return NULL (except in special circumstances). Actually make it work
(Closes: #745352). (The reason that libtar doesn't use libc's
dirname() and basename() on some or most platforms is that the code
doesn't work with destructive versions of these functions).
2014-02-15 - Magnus Holmgren <>
libtar (1.2.20-3) unstable; urgency=low
* no_maxpathlen.patch: Fix two grave bugs in the patch. First,
th_get_pathname would only allocate as much memory as was needed for
the first filename encountered, causing heap corruption when/if
encountering longer filenames later. Second, two variables were mixed
up in tar_append_tree(). Also, fix a potential memory leak and trim
the patch a bit.
* [SECURITY] CVE-2013-4420.patch: When the prefix field is in use, the
safer_name_suffix() function should certainly be applied to the
combination of it and the name field, not just on the name field.
* th_get_size-unsigned-int.patch: Make the th_get_size() macro cast the
result from oct_to_int() to unsigned int. This is the right fix for
bug #725938 on 64-bit systems, where a specially crafted tar file
would not cause an integer overflow, but a memory allocation of almost
16 exbibytes, which would certainly fail outright without harm.
2014-02-15 - Magnus Holmgren <>
libtar (1.2.20-2) unstable; urgency=low
* no_static_buffers.patch: avoid using a static buffer in
th_get_pathname(). Taken from upstream. Needed for no_maxpathlen.patch.
* no_maxpathlen.patch: Fix FTBFS on Hurd by dynamically allocating path
names (Closes: #657116). Thanks to Svante Signell and Petter
* [SECURITY] CVE-2013-4420.patch: Strip out leading slashes and any
pathname prefix containing ".." components (Closes: #731860). This is
done in th_get_pathname() (as well as to symlink targets when
extracting symlinks), not merely when extracting files, which means
applications calling that function will not see the stored
filename. There is no way to disable this behaviour, but it can be
expected that one will be provided when the issue is solved upstream.
* Bump Standards-Version to 3.9.5.
2013-10-10 - Magnus Holmgren <>
libtar (1.2.20-1) unstable; urgency=high
* [SECURITY] New upstream release. Fixes CVE-2013-4397: Integer
overflow (Closes: #725938).
* Bump Standards-Version to 3.9.4.
2013-05-05 - Magnus Holmgren <>
libtar (1.2.19-1) unstable; urgency=low
* New upstream release.
2012-06-23 - Magnus Holmgren <>
libtar (1.2.16-1) unstable; urgency=low
* New upstream: Chris Frey has stepped up with the consent of the
original author, Mark Roth, and published an "official unofficial" git
repo at, which I will use for the time
* Updated debian/watch to look for tags and corresponding snapshot
tarballs at above URL.
* All patches have been incorporated or (in the case of
autoreconf.patch) made obsolete upstream.
* debian/rules: Add build-indep and build-arch targets.
* Updated debian/copyright.
* Use dpkg-buildflags to set CFLAGS et al.
* debian/control: Add VCS fields; bump Standards-Version to 3.9.3.
2011-04-24 - Magnus Holmgren <>
libtar (1.2.11-8) unstable; urgency=low
* libtool.patch: Set SHELL to the configured shell in those
where libtool is used; otherwise libtool fails when /bin/sh is dash
but bash is expected (Closes: #621935).
* man_hyphen_minus.patch (new): Escape hyphens that should be minus
signs in man pages.
* Rename libtar as libtar0 to follow policy.

See Also

Package Description
libtar0_1.2.20-4+b1_i386.deb C library for manipulating tar archives
libtarantool-dev_1.5.2.20.g5f5d924-2_i386.deb Tarantool in-memory database - development headers
libtask-weaken-perl_1.04-1_all.deb module for ensuring that a platform has weaken support
libtaskmanager4abi4_4.11.13-2_i386.deb library which provides task management facilities
libtasn1-3-bin_4.2-3+deb8u3_all.deb transitional libtasn1-3-bin package
libtasn1-6-dev_4.2-3+deb8u3_i386.deb Manage ASN.1 structures (development)
libtasn1-6_4.2-3+deb8u3_i386.deb Manage ASN.1 structures (runtime)
libtasn1-bin_4.2-3+deb8u3_i386.deb Manage ASN.1 structures (binaries)
libtasn1-doc_4.2-3+deb8u3_all.deb Manage ASN.1 structures (documentation)
libtbb-dev_4.2~20140122-5_i386.deb parallelism library for C++ - development files
libtbb-doc_4.2~20140122-5_all.deb parallelism library for C++ - documentation
libtbb2_4.2~20140122-5_i386.deb parallelism library for C++ - runtime files
libtcc-dev_0.9.27~git20140923.9d7fb33-3_i386.deb fast library for dynamic code generation
libtcd-dev_2.2.2-1_i386.deb Tide Constituent Database (TCD) library (header file)
libtcd0_2.2.2-1_i386.deb Tide Constituent Database (TCD) library