summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-10-02 17:48:13 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-02 22:05:25 +0200
commit4c370aad7539b7e3bc0028aa538f34b95a526cff (patch)
treeda1f2fe3d5d10b9597d89a74553664e692830700 /apt-pkg/contrib/mmap.cc
parente503a4d5ac668d233c11f64a0dd0c6d20f3b2be1 (diff)
apt-get: Create the temporary downloaded changelog inside tmpdir
The code is creating a secure temporary directory, but then creates the changelog alongside the tmpdir in the same base directory. This defeats the secure tmpdir creation, making the filename predictable. Inject a '/' between the tmpdir and the changelog filename.
Diffstat (limited to 'apt-pkg/contrib/mmap.cc')
0 files changed, 0 insertions, 0 deletions