summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-20 12:23:32 +0100
committerAllan McRae <allan@archlinux.org>2016-03-28 09:16:27 +0200
commit2ee1706a72858ea365c0e7a1a72d92ef2dae2f75 (patch)
treeb84c10be1e9f2dadb9ef454e7699e23acd07e9f5 /lib/libalpm
parent4cad2423a34d9bb740375f121d2390cd3cf925dc (diff)
downloadpacman-2ee1706a72858ea365c0e7a1a72d92ef2dae2f75.tar.gz
pacman-2ee1706a72858ea365c0e7a1a72d92ef2dae2f75.tar.xz
Do not add root prefix twice when checking database files
When checking .INSTALL and .CHANGELOG files in the mtree file, we need to find the path they are stored in the local database. This was appending the root prefix twice as alpm_option_get_dbpath already returns the absolute path to the database. While fixing that issue I added checks that the paths for the database files were not longer than PATH_MAX. Fixes FS#48563. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions