summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/po/Makevars
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-20 12:23:32 +0100
committerAllan McRae <allan@archlinux.org>2016-05-05 05:56:27 +0200
commit07ccbc26914bea24983931532b97661a75b8a53c (patch)
treece60fafa3696fb5ebe46ef154530bff656931f37 /lib/libalpm/po/Makevars
parenta66cba1b08cc7c9f55efcfda6f4ab3cafff6b874 (diff)
downloadpacman-07ccbc26914bea24983931532b97661a75b8a53c.tar.gz
pacman-07ccbc26914bea24983931532b97661a75b8a53c.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> (cherry picked from commit 2ee1706a72858ea365c0e7a1a72d92ef2dae2f75)
Diffstat (limited to 'lib/libalpm/po/Makevars')
0 files changed, 0 insertions, 0 deletions