Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix double free (closes: #711045) | Michael Vogt | 2013-06-06 | 1 | -2/+5 |
| | |||||
* | merged patch from Daniel Hartwig to fix URI and proxy releated issues | Michael Vogt | 2013-05-08 | 1 | -4/+5 |
| | |||||
* | merged bundle from david | Michael Vogt | 2013-04-08 | 4 | -15/+13 |
|\ | |||||
| * | various simple changes to fix cppcheck warnings | David Kalnischkies | 2013-03-10 | 4 | -15/+13 |
| | | |||||
* | | apt-pkg/contrib/gpgv.cc: fix InRelease check | Michael Vogt | 2013-04-03 | 1 | -2/+2 |
| | | |||||
* | | merged lp:~mvo/apt/fix-inrelease5 | Michael Vogt | 2013-04-02 | 4 | -1/+475 |
|\ \ | |/ |/| | |||||
| * | support dash-escaped text in clearsigned files as implementations are | David Kalnischkies | 2013-03-19 | 2 | -14/+12 |
| | | | | | | | | | | | | | | | | free to escape all lines (we have no lines in our files which need to be escaped as these would be invalid fieldnames) and while ExecGPGV would detect dash-escaped text as invalid (as its not expected in messages with detached signatures) it would be possible to "comment" lines in (signed) dsc files which are only parsed but not verified | ||||
| * | use FileFd instead of int fds to tidy up the interface a bit | David Kalnischkies | 2013-03-19 | 2 | -62/+53 |
| | | |||||
| * | * apt-pkg/deb/debindexfile.cc, | David Kalnischkies | 2013-03-18 | 2 | -56/+2 |
| | | | | | | | | | | | | | | | | | | | | | | apt-pkg/deb/deblistparser.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc and Release files We can't write a "clean" file to disk as not all acquire methods copy Release files before checking them (e.g. cdrom), so this reverts recombining, but uses the method we use for dsc files also in the two places we deal with Release files | ||||
| * | - add method to open (maybe) clearsigned files transparently | David Kalnischkies | 2013-03-18 | 2 | -1/+76 |
| | | | | | | | | | | * ftparchive/writer.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc files | ||||
| * | ensure that we fclose/unlink/free in the new gpg-code as soon as possible | David Kalnischkies | 2013-03-16 | 1 | -5/+22 |
| | | |||||
| * | - if ExecGPGV deals with a clear-signed file it will split this file | David Kalnischkies | 2013-03-15 | 2 | -45/+298 |
| | | | | | | | | | | | | | | | | into data and signatures, pass it to gpgv for verification and recombines it after that in a known-good way without unsigned blocks and whitespaces resulting usually in more or less the same file as before, but later code can be sure about the format * apt-pkg/deb/debmetaindex.cc: - reenable InRelease by default | ||||
| * | split out a method to strip whitespaces only on the right side | Michael Vogt | 2013-03-15 | 2 | -1/+8 |
| | | |||||
| * | don't close stdout/stderr if it is also the statusfd | David Kalnischkies | 2013-03-15 | 1 | -10/+11 |
| | | |||||
| * | * apt-pkg/contrib/gpgv.cc: | David Kalnischkies | 2013-03-15 | 2 | -12/+36 |
| | | | | | | | | - ExecGPGV is a method which should never return, so mark it as such and fix the inconsistency of returning in error cases | ||||
| * | * apt-pkg/indexcopy.cc: | David Kalnischkies | 2013-03-15 | 2 | -0/+162 |
| | | | | | | - rename RunGPGV to ExecGPGV and move it to apt-pkg/contrib/gpgv.cc | ||||
* | | include two missing patches to really fix bug #696225, thanks to | Michael Vogt | 2013-03-01 | 1 | -1/+1 |
| | | | | | | Guillem Jover | ||||
* | | * apt-pkg/contrib/progress.cc: | Michael Vogt | 2013-01-09 | 1 | -2/+2 |
|/ | | | | | | - Make "..." translatable to fix inconsistencies in the output of e.g. apt-get update. While this adds new translatable strings, not having translations for them will not break anything. Thanks to Guillem Jover. Closes: #696225 | ||||
* | merge from lp:~donkult/apt/sid | Michael Vogt | 2012-10-15 | 2 | -35/+36 |
|\ | |||||
| * | remove 256 char line limit by using getline() (POSIX.1-2008) | David Kalnischkies | 2012-10-13 | 1 | -3/+5 |
| | | |||||
| * | * apt-pkg/contrib/netrc.cc: | David Kalnischkies | 2012-10-13 | 1 | -16/+27 |
| | | | | | | - remove the 64 char limit for login/password in internal usage | ||||
* | | merged lp:~mvo/apt/mvo | Michael Vogt | 2012-10-12 | 1 | -5/+16 |
|\ \ | |/ |/| | |||||
| * | apt-pkg/contrib/netrc.cc: use a slightly smaller login/password size | Michael Vogt | 2012-08-28 | 1 | -2/+2 |
| | | |||||
| * | make netrc parser more robust and parser biger login tokens, thanks to "TJ" ↵ | Michael Vogt | 2012-08-13 | 1 | -5/+16 |
| | | | | | | | | (LP: #1008289) | ||||
* | | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-08-04 | 1 | -2/+0 |
| | | | | | | | | - remove _POSIX_SYNCHRONIZED_IO guard in FileFd::Sync() around fsync as this guard is only needed for fdatasync and not defined on hurd | ||||
* | | move the sysconf call behind the _POSIX_SYNCHRONIZED_IO guard there | David Kalnischkies | 2012-08-04 | 1 | -1/+1 |
| | | | | | | | | it is used for the msync call | ||||
* | | apt-pkg/contrib/mmap.cc: | Pino Toscano | 2012-08-04 | 1 | -7/+7 |
| | | | | | | | | | | | | - guard only the msync call with _POSIX_SYNCHRONIZED_IO rather than also the fallback code as it breaks APT on hurd since 0.9.7.3 as the fallback is now always used on non-linux (Closes: #683354) | ||||
* | | for filesystems not supporting mmap'ing a file we need to use a | David Kalnischkies | 2012-07-24 | 1 | -0/+1 |
| | | | | | | SyncToFd dummy just as we did for compressed files in 0.9.5 | ||||
* | | trigger the usage of the fallback code for kfreebsd also in the | David Kalnischkies | 2012-07-24 | 1 | -1/+11 |
| | | | | | | second (filebased) constructor of DynamicMMap (Closes: #677704) | ||||
* | | * apt-pkg/contrib/mmap.cc: | David Kalnischkies | 2012-07-20 | 1 | -1/+1 |
| | | | | | | | | - refer to APT::Cache-Start in case the growing failed as if -Limit is really the offender it will be noted in a previous error message. | ||||
* | | Fix previous commit: Do not call memset() if realloc() returned NULL. | Julian Andres Klode | 2012-06-16 | 1 | -2/+3 |
| | | |||||
* | | Zero out the new memory allocated with realloc(). | Julian Andres Klode | 2012-06-16 | 1 | -0/+2 |
| | | |||||
* | | * apt-pkg/contrib/mmap.cc: | Julian Andres Klode | 2012-06-16 | 1 | -9/+8 |
| | | | | | | | | | | - Fix the Fallback option to work correctly, by not calling realloc() on a map mapped by mmap(), and by using malloc and friends instead of new[]. | ||||
* | | fix segfault with empty LongOpt in --no-* branch | David Kalnischkies | 2012-06-09 | 1 | -1/+2 |
| | | |||||
* | | * apt-pkg/contrib/cmdline.cc: | Daniel Hartwig | 2012-06-09 | 1 | -2/+3 |
| | | | | | | | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331) | ||||
* | | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-05-22 | 1 | -4/+15 |
| | | | | | | | | - dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it | ||||
* | | * apt-pkg/contrib/mmap.cc: | David Kalnischkies | 2012-05-21 | 1 | -0/+1 |
| | | | | | | | | | | - have a dummy SyncToFd around in case of ReadOnly access to a compressed file as we otherwise on Close() do not delete[] the char buffer but munmap() it… (Closes: #673815) | ||||
* | | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-05-16 | 1 | -24/+41 |
| | | | | | | | | - ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd | ||||
* | | ensure that d is set before accessing it | David Kalnischkies | 2012-05-10 | 1 | -41/+50 |
| | | |||||
* | | ensure that in error conditions the Fail flag is set | David Kalnischkies | 2012-05-10 | 1 | -3/+46 |
| | | |||||
* | | collect zombie (de)compressor processes on reopen | David Kalnischkies | 2012-05-10 | 1 | -1/+14 |
| | | |||||
* | | ensure that we do init d only once and especially not with its own | David Kalnischkies | 2012-05-09 | 1 | -5/+6 |
| | | | | | | | | content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979) | ||||
* | | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-05-09 | 1 | -3/+7 |
| | | | | | | - check that the fd which are closed are valid | ||||
* | | /dev/null is a special absolute path as it has no subdirectories | David Kalnischkies | 2012-04-23 | 1 | -0/+9 |
| | | |||||
* | | normalize a bit by replacing // and /./ with / in FindFile | David Kalnischkies | 2012-04-23 | 1 | -30/+38 |
| | | |||||
* | | * apt-pkg/contrib/configuration.cc: | David Kalnischkies | 2012-04-22 | 2 | -8/+66 |
| | | | | | | - add a more versatile Dump() method | ||||
* | | * apt-pkg/contrib/strutl.cc: | David Kalnischkies | 2012-04-21 | 1 | -20/+37 |
| | | | | | | - remove the message size limit from ioprintf and strprintf | ||||
* | | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | 2012-04-20 | 1 | -2/+6 |
| | | | | | | | | | | - do not use the input data directly but memcpy it instead as it could be unaligned as in the http-transport which causes a sigbus error on sparc (Closes: #669061) | ||||
* | | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-04-19 | 1 | -0/+6 |
| | | | | | | - redirect stderr from compressors to /dev/null | ||||
* | | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | 2012-04-11 | 2 | -0/+23 |
| | |