1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-13 21:05:05 -05:00
pacman/lib/libalpm
Andrew Gregory dcc1b22cb3 _alpm_hook_run: check path length before copying
If a hook path equals or exceeds PATH_MAX characters the path will be
left unterminated.  Pre-calculating the path length also allows us to
use the more efficient memcpy over strncpy.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-10-28 14:22:09 +10:00
..
po Remove ko_KR translation 2015-08-08 10:36:03 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c Do not warn about downgrades when only downloading package 2015-07-12 16:23:25 +10:00
add.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm_list.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm_list.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm.c handle: add hookdirs option 2015-10-18 10:59:23 +10:00
alpm.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
backup.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
backup.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c Abort of failure to add version file to empty local database 2015-03-03 16:54:17 +10:00
be_package.c be_package: fallback to standard filelist loading 2015-03-26 14:44:13 +10:00
be_sync.c libalpm: Force update when database is marked as corrupted. 2015-08-08 10:45:09 +10:00
conflict.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
conflict.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
db.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
db.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
delta.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
delta.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
deps.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
deps.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
diskspace.c calculate_removed_size: ensure llstat succeeds 2015-03-03 16:54:17 +10:00
diskspace.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
dload.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
dload.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
error.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
filelist.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
filelist.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
graph.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
graph.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
group.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
group.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
handle.c handle: add hookdirs option 2015-10-18 10:59:23 +10:00
handle.h handle: add hookdirs option 2015-10-18 10:59:23 +10:00
hook.c _alpm_hook_run: check path length before copying 2015-10-28 14:22:09 +10:00
hook.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
libalpm.pc.in Use libalpm version in pkg-config file 2013-04-26 12:43:53 +10:00
libarchive-compat.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
log.c alpm_logaction: implement documented return value 2015-05-12 14:00:55 +10:00
log.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
Makefile.am run hooks during trans_commit 2015-10-18 10:59:23 +10:00
md5.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
package.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pkghash.c Use ARRAYSIZE macro for non-string array size computation 2015-10-27 13:53:18 +10:00
pkghash.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
rawstr.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
remove.c Do not warn about packages that optionally require a removal when ignoring deps 2015-07-14 17:15:33 +10:00
remove.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
sha2.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
signing.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
sync.c check fileconflicts and diskspace outside commit 2015-09-20 17:36:53 +10:00
sync.h check fileconflicts and diskspace outside commit 2015-09-20 17:36:53 +10:00
trans.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
trans.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
util-common.c Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util-common.h Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util.c merge _alpm_logaction into alpm_logaction 2015-05-12 14:00:54 +10:00
util.h merge _alpm_logaction into alpm_logaction 2015-05-12 14:00:54 +10:00
version.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00