Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/hook.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-20 21:23:32 +1000
committerAllan McRae <allan@archlinux.org>2016-05-05 13:56:27 +1000
commit07ccbc26914bea24983931532b97661a75b8a53c (patch)
treece60fafa3696fb5ebe46ef154530bff656931f37 /lib/libalpm/hook.h
parenta66cba1b08cc7c9f55efcfda6f4ab3cafff6b874 (diff)
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/hook.h')
0 files changed, 0 insertions, 0 deletions