summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
AgeCommit message (Collapse)Author
2013-08-22Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sidMichael Vogt
Conflicts: apt-pkg/tagfile.h
2013-08-15ensure that pkgTagFile isn't writing past Buffer lengthDavid Kalnischkies
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
2013-08-08fix -Wall errorsMichael Vogt
2013-08-06memset() pkgTagSections data to make coverity happyMichael Vogt
2013-08-05fix some unitialized data membersMichael Vogt
2013-03-18fix pkgTagSection::Exists() and add testMichael Vogt
2011-12-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies
2011-09-13merge with debian/experimentalDavid Kalnischkies
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-08-15merged from the debian-sid branchMichael Vogt
2011-08-11fix some cppcheck: (warning) Member variable is not initialized in the ↵David Kalnischkies
constructor.
2011-06-08* [ABI-Break] Implement EDSP in libapt-pkg so that all front-ends whichMichael Vogt
* [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
2011-01-28apt-pkg/tagfile.h: add dpointer placeholder, make destructor virtual; ↵Michael Vogt
apt-pkg/deb/debsystem.h: make destructor virtual
2011-01-27apt-pkg/tagfile.{cc,h}: add comment, remove "inline" from pkgTagFile::Offset()Michael Vogt
2011-01-27apt-pkg/tagfile.{cc,h}: add dpointer to pkgTagFileMichael Vogt
2011-01-20 - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies
* apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
2010-06-03* apt-pkg/pkgcache.h:David Kalnischkies
- switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
2010-03-14* apt-pkg/depcache.cc:David Kalnischkies
- remove Auto-Installed information from extended_states together with the package itself (Closes: #572364)
2009-06-09[ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt
(closes: #189866)
2007-07-26* implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt
and fallback
2006-10-02* removed the pragma messMichael Vogt
2006-10-02* apt-pkg/tagfile.cc,h:Michael Vogt
- make the internal buffer grow dynamically if required
2006-09-30* apt-pkg/tagfile.h:Michael Vogt
- increase the buffer in tagfile.cc for now, this really needs to become a dynamic buffer
2006-09-15* apt-pkg/tagfile.cc, tagfile.h:Michael Vogt
- reverted the mmap patch again, it caused too much trouble with pipes etc
2006-07-26* suport both MMapable files and non-mmapable filesMichael Vogt
2006-04-26* apt-pkg/tagfile.{cc,h}:Michael Vogt
- use mmap for the tagfile code (closes: #350025)
2004-09-20Fix api breakage caused when attempting to support bloc...Arch Librarian
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.
2004-09-20Fix status file parser so that if a record is larger th...Arch Librarian
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.
2004-09-20Fixes from Christoph PfistererArch Librarian
Author: jgg Date: 2001-10-04 05:13:23 GMT Fixes from Christoph Pfisterer
2004-09-20Tag file can read from unseekable objectsArch Librarian
Author: jgg Date: 2001-04-22 05:42:52 GMT Tag file can read from unseekable objects
2004-09-20Pedantic fixesArch Librarian
Author: jgg Date: 2001-03-11 07:22:19 GMT Pedantic fixes
2004-09-20Join with aliencodeArch Librarian
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20Fixed a small memory leakArch Librarian
Author: jgg Date: 1999-07-03 06:45:40 GMT Fixed a small memory leak
2004-09-20Release supportArch Librarian
Author: jgg Date: 1998-12-14 02:23:46 GMT Release support
2004-09-20OptimizationsArch Librarian
Author: jgg Date: 1998-12-07 07:26:19 GMT Optimizations
2004-09-20More tagfile accessorsArch Librarian
Author: jgg Date: 1998-11-28 03:54:29 GMT More tagfile accessors
2004-09-20Patchs for apt-cdromArch Librarian
Author: jgg Date: 1998-11-27 01:14:06 GMT Patchs for apt-cdrom
2004-09-20More progress updatesArch Librarian
Author: jgg Date: 1998-08-26 04:52:23 GMT More progress updates
2004-09-20Comment touch upsArch Librarian
Author: jgg Date: 1998-07-19 21:24:11 GMT Comment touch ups
2004-09-20Class File name change to FileFdArch Librarian
Author: jgg Date: 1998-07-19 04:42:10 GMT Class File name change to FileFd
2004-09-20DumpAvail works and apt-cache is completeArch Librarian
Author: jgg Date: 1998-07-19 04:22:00 GMT DumpAvail works and apt-cache is complete
2004-09-20Working cache generatorArch Librarian
Author: jgg Date: 1998-07-16 06:08:36 GMT Working cache generator
2004-09-20First draft of make system and name change to apt-pkgArch Librarian
Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
2004-09-20SyncArch Librarian
Author: jgg Date: 1998-07-07 04:17:00 GMT Sync
2004-09-20Final testingArch Librarian
Author: jgg Date: 1998-07-05 05:33:52 GMT Final testing
2004-09-20Base revisionsArch Librarian
Author: jgg Date: 1998-07-02 02:58:12 GMT Base revisions