summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/version.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-20 06:04:12 +0100
committerDan McGee <dan@archlinux.org>2012-02-20 06:04:12 +0100
commit4899b5bd864919830fe4ce5786d37a00ab5a0da3 (patch)
tree4355a3336d8b6ec8c0085748ac2152cd25659eb4 /lib/libalpm/version.c
parentca4142714137b16feabac09c4cda86b0a75036f8 (diff)
downloadpacman-4899b5bd864919830fe4ce5786d37a00ab5a0da3.tar.gz
pacman-4899b5bd864919830fe4ce5786d37a00ab5a0da3.tar.xz
diskspace: ensure we match only full path components
If one had a mountpoint at '/e' (don't ask), a file being installed to '/etc' would map to it incorrectly. Ensure we do more than just prefix matching on paths by doing some more sanity checks once the simple strncmp() call succeeds. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/version.c')
0 files changed, 0 insertions, 0 deletions