summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/md5.h
Commit message (Collapse)AuthorAgeFilesLines
* try not to call memcpy with length 0 in hash calculationsDavid Kalnischkies2016-09-011-1/+1
| | | | | | | | | | memcpy is marked as nonnull for its input, but ignores the input anyhow if the declared length is zero. Our SHA2 implementations do this as well, it was "just" MD5 and SHA1 missing, so we add the length check here as well as along the callstack as it is really pointless to do all these method calls for "nothing". Reported-By: gcc -fsanitize=undefined
* add c++11 override marker to overridden methodsDavid Kalnischkies2015-08-101-1/+1
| | | | | | | | | C++11 adds the 'override' specifier to mark that a method is overriding a base class method and error out if not. We hide it in the APT_OVERRIDE macro to ensure that we keep compiling in pre-c++11 standards. Reported-By: clang-modernize -add-override -override-macros Git-Dch: Ignore
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-4/+5
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* Fix typos in documentation (codespell)Michael Vogt2014-02-221-1/+1
|
* revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies2011-12-131-0/+5
| | | | | The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-3/+0
|
* Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-1/+1
| | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* move implementation of checksums around by abstracting even moreDavid Kalnischkies2011-07-131-10/+6
|
* template based hashsum implementationMichael Vogt2011-02-251-20/+3
|
* * make apt build with g++ 4.3Michael Vogt2007-09-101-0/+1
|
* * removed the pragma messMichael Vogt2006-10-021-3/+0
|
* * fix for #340448Michael Vogt2005-11-231-0/+1
|
* * sparc64 alignment fixMichael Vogt2005-10-191-1/+1
|
* * merged with my apt--fixes--0 branchMichael Vogt2005-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--misc-abi-changes--0--patch-4 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-5 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-6 Collapse both pkgAcquire::Run() methods into one, with a default value * michael.vogt@ubuntu.com--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-1 * merged obvious fixes into the tree to make it easy for matt to merge * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-2 * more merges from otavio that looks good/uncritical * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-3 * merged Matts misc-abi-changes tree * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-4 * finalized the changelog for a ubuntu build * otavio@debian.org--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-71 * otavio@debian.org--2005/apt--fixes--0--patch-1 Fix comments about the need of xmlto * otavio@debian.org--2005/apt--fixes--0--patch-2 Fix a compile warning * otavio@debian.org--2005/apt--fixes--0--patch-3 Sync with apt--main--0--patch-76 * otavio@debian.org--2005/apt--fixes--0--patch-4 Sync with apt--main--0--patch-78 * otavio@debian.org--2005/apt--fixes--0--patch-5 Add fixes that was wrongly included on DDTP changes. * otavio@debian.org--2005/apt--fixes--0--patch-8 Add information about the other fixes include on this branch now. * otavio@debian.org--2005/apt--fixes--0--patch-9 Merge last changes from apt--main--0. * otavio@debian.org--2005/apt--fixes--0--patch-10 Fix warnings about min/max change in gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-11 Fix remaning warnings while compiling gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-12 Add changelog entry about the fixes for warnings while compiling using GCC 4.0 compiler.
* G++3 fixes from RandolphArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 2001-05-07 05:05:13 GMT G++3 fixes from Randolph
* Join with aliencodeArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* A few functions migrated aroundArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 1999-08-02 03:07:47 GMT A few functions migrated around
* Dsync mergeArch Librarian2004-09-201-3/+7
| | | | | | Author: jgg Date: 1999-01-18 06:20:07 GMT Dsync merge
* More CD supportArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-11-25 23:54:06 GMT More CD support
* Md5 supportArch Librarian2004-09-201-0/+67
Author: jgg Date: 1998-10-31 05:19:59 GMT Md5 support