diff options
author | Allan McRae <allan@archlinux.org> | 2016-03-20 21:23:32 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-03-28 17:16:27 +1000 |
commit | 2ee1706a72858ea365c0e7a1a72d92ef2dae2f75 (patch) | |
tree | b84c10be1e9f2dadb9ef454e7699e23acd07e9f5 /.gitignore | |
parent | 4cad2423a34d9bb740375f121d2390cd3cf925dc (diff) | |
download | 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 '.gitignore')
0 files changed, 0 insertions, 0 deletions