]> git.saurik.com Git - apt.git/commit - test/libapt/strutil_test.cc
Only allow "apt-get build-dep path" when path starts with ./ or /
authorMichael Vogt <mvo@ubuntu.com>
Tue, 8 Jul 2014 13:11:14 +0000 (15:11 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Tue, 8 Jul 2014 13:11:14 +0000 (15:11 +0200)
commita5bb5e1e747ceb7b5a9defb6b1a8d9282a6e0957
tree4650dafd968a216b8ccdcd04d9a663fc9a312932
parent2830b8436ac8a6f2f3dac4ce2cd030c24eebce04
Only allow "apt-get build-dep path" when path starts with ./ or /

This avoid the subtle problem that someone might have a directory
with the same package name as the build-depends he/she is trying
to fetch. Also print a note that the specific file/dir is used.
apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.h
cmdline/apt-get.cc
test/integration/test-apt-get-build-dep
test/libapt/strutil_test.cc