• Julian Andres Klode's avatar
    python/tarfile.cc: LFS: Handle too large file · 3ae6e694
    Julian Andres Klode authored
    Handle both file sizes larger than SIZE_MAX and allocation
    failures when reading the data of a tarmember.
    
    If using the go() function with a callback, pass None as the data
    parameter for files that are too large. For extractdata, raise
    a MemoryError if the file too extract is too large.
    
    Also check for an existing error first in extractdata, before
    raising a new one.
    
    Test the whole thing on 32-bit platforms with a sample deb that
    contains a zeroed file that is 5GB large (compressed using xz
    at level 1 to a few kb).
    3ae6e694
Name
Last commit
Last update
..
acquire-item.cc Loading commit data...
acquire.cc Loading commit data...
apt_instmodule.cc Loading commit data...
apt_instmodule.h Loading commit data...
apt_pkgmodule.cc Loading commit data...
apt_pkgmodule.h Loading commit data...
arfile.cc Loading commit data...
cache.cc Loading commit data...
cachegroup.cc Loading commit data...
cdrom.cc Loading commit data...
configuration.cc Loading commit data...
depcache.cc Loading commit data...
generic.cc Loading commit data...
generic.h Loading commit data...
hashes.cc Loading commit data...
hashstring.cc Loading commit data...
indexfile.cc Loading commit data...
indexrecords.cc Loading commit data...
lock.cc Loading commit data...
metaindex.cc Loading commit data...
orderlist.cc Loading commit data...
pkgmanager.cc Loading commit data...
pkgrecords.cc Loading commit data...
pkgrecords.h Loading commit data...
pkgsrcrecords.cc Loading commit data...
policy.cc Loading commit data...
progress.cc Loading commit data...
progress.h Loading commit data...
python-apt-helpers.cc Loading commit data...
python-apt.h Loading commit data...
sourcelist.cc Loading commit data...
string.cc Loading commit data...
tag.cc Loading commit data...
tarfile.cc Loading commit data...