Age | Commit message (Collapse) | Author |
|
In 91c4cc14d3654636edf997d23852f05ad3de4853 I removed the +256 from
the pkgTagFile call parsing Release files as I couldn't find a
mentioning of a reason for why and it was marked as XXX which suggested
that at least someone else was suspicious.
It turns out that it is indeed "documented", it just didn't found it at
first but the changelog of apt 0.6.6 (29. Dec 2003) mentions:
* Restore the ugly hack I removed from indexRecords::Load which set the
pkgTagFile buffer size to (file size)+256. This is concealing a bug,
but I can't fix it right now. This should fix the segfaults that
folks are seeing with 0.6.[45].
The bug it is "hiding" is that if pkgTagFile works with a file which doesn't
end in a double newline it will be adding it without checking if the Buffer
is big enough to store them. Its also not a good idea to let the End
pointer be past the end of our space, even if we don't access the data.
Closes: 719629
|
|
|
|
|
|
|
|
The breakage is just to big for now, so guard the change with
#ifndef APT_8_CLEANER_HEADERS and be nice to library users
|
|
|
|
|
|
|
|
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
|
|
|
|
constructor.
|
|
* [ABI-Break] merge lp:~mvo/apt/sha512-template to add support for sha512
* [ABI-Break] merge lp:~mvo/apt/dpointer to support easier extending
without breaking the ABI
|
|
apt-pkg/deb/debsystem.h: make destructor virtual
|
|
|
|
|
|
* apt-pkg/deb/deblistparser.cc:
- rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
|
|
- switch {,Install-}Size to unsigned long long
* apt-pkg/depcache.cc:
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
|
|
- remove Auto-Installed information from extended_states
together with the package itself (Closes: #572364)
|
|
(closes: #189866)
|
|
and fallback
|
|
|
|
- make the internal buffer grow dynamically if required
|
|
- increase the buffer in tagfile.cc for now, this really needs to
become a dynamic buffer
|
|
- reverted the mmap patch again, it caused too much trouble with
pipes etc
|
|
|
|
- use mmap for the tagfile code (closes: #350025)
|
|
Author: doogie
Date: 2003-05-19 17:13:57 GMT
Fix api breakage caused when attempting to support blocks larger than 32k,
by backing out the patch.
|
|
Author: doogie
Date: 2003-04-27 05:59:14 GMT
Fix status file parser so that if a record is larger than 32k, the buffer
size will be doubled, and the read attempted again.
|
|
Author: jgg
Date: 2001-10-04 05:13:23 GMT
Fixes from Christoph Pfisterer
|
|
Author: jgg
Date: 2001-04-22 05:42:52 GMT
Tag file can read from unseekable objects
|
|
Author: jgg
Date: 2001-03-11 07:22:19 GMT
Pedantic fixes
|
|
Author: jgg
Date: 2001-02-20 07:03:16 GMT
Join with aliencode
|
|
Author: jgg
Date: 1999-07-03 06:45:40 GMT
Fixed a small memory leak
|
|
Author: jgg
Date: 1998-12-14 02:23:46 GMT
Release support
|
|
Author: jgg
Date: 1998-12-07 07:26:19 GMT
Optimizations
|
|
Author: jgg
Date: 1998-11-28 03:54:29 GMT
More tagfile accessors
|
|
Author: jgg
Date: 1998-11-27 01:14:06 GMT
Patchs for apt-cdrom
|
|
Author: jgg
Date: 1998-08-26 04:52:23 GMT
More progress updates
|
|
Author: jgg
Date: 1998-07-19 21:24:11 GMT
Comment touch ups
|
|
Author: jgg
Date: 1998-07-19 04:42:10 GMT
Class File name change to FileFd
|
|
Author: jgg
Date: 1998-07-19 04:22:00 GMT
DumpAvail works and apt-cache is complete
|
|
Author: jgg
Date: 1998-07-16 06:08:36 GMT
Working cache generator
|
|
Author: jgg
Date: 1998-07-12 23:58:20 GMT
First draft of make system and name change to apt-pkg
|
|
Author: jgg
Date: 1998-07-07 04:17:00 GMT
Sync
|
|
Author: jgg
Date: 1998-07-05 05:33:52 GMT
Final testing
|
|
Author: jgg
Date: 1998-07-02 02:58:12 GMT
Base revisions
|