1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-16 14:25:21 -05:00
pacman/lib/libalpm
Olivier Brunel 99a5017f55 Fix loading invalid package
In 5acfa65f when adding a new variable (hit_mtree), the initialization of a
variable (config) was dropped, which could lead to loading invalid package
files, i.e. files that aren't archive (no metadata loaded) would return a new
alpm_pkg_t with everything set to 0/NULL.

Depending on the operation/use of the package, this could lead to segfault.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2014-08-09 14:08:41 +10:00
..
po Do not remove source code references in PO/POT files 2014-02-02 16:32:55 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c move _alpm_lstat into util-common 2014-08-03 18:46:32 +10:00
add.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
alpm_list.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
alpm_list.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
alpm.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
alpm.h handle: factor out string list option handling 2014-08-04 14:23:58 +10:00
backup.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
backup.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +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 Use MALLOC throughtout libalpm 2014-03-08 16:58:30 +10:00
be_package.c Fix loading invalid package 2014-08-09 14:08:41 +10:00
be_sync.c handle_unlock: log lock removal failure 2014-08-04 14:23:58 +10:00
conflict.c move _alpm_lstat into util-common 2014-08-03 18:46:32 +10:00
conflict.h alpm: export *_free functions 2014-02-04 13:48:37 +10:00
db.c register_syncdb: reject db names that contain / 2014-05-04 16:14:44 +10:00
db.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
delta.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
delta.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
deps.c deps.c: use alpm_list_find_ptr 2014-08-04 14:23:58 +10:00
deps.h alpm: export *_free functions 2014-02-04 13:48:37 +10:00
diskspace.c replace strdup with STRDUP 2014-08-04 14:23:58 +10:00
diskspace.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
dload.c filecache_find_url: dereference the 'filebase' pointer 2014-08-04 14:23:58 +10:00
dload.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
error.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
filelist.c filelist_intersection: manually compare paths 2014-08-03 18:46:31 +10:00
filelist.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
graph.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
graph.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
group.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
group.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
handle.c replace strdup with STRDUP 2014-08-04 14:23:58 +10:00
handle.h Update the question callback 2014-06-24 13:52:15 +10:00
libalpm.pc.in Use libalpm version in pkg-config file 2013-04-26 12:43:53 +10:00
libarchive-compat.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
log.c Remove log_cb, add ALPM_EVENT_LOG instead 2014-03-03 11:25:54 +10:00
log.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
Makefile.am Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +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 replace strdup with STRDUP 2014-08-04 14:23:58 +10:00
package.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
pkghash.c Use MALLOC throughtout libalpm 2014-03-08 16:58:30 +10:00
pkghash.h Update copyright years for 2014 2014-01-06 14:38:50 +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 move _alpm_lstat into util-common 2014-08-03 18:46:32 +10:00
remove.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +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 signing.c: remove useless error check 2014-08-04 14:23:58 +10:00
signing.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
sync.c sync_prepare: remove useless check for replacers 2014-08-03 18:46:32 +10:00
sync.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
trans.c trans_commit: log beginning and end of transaction 2014-08-04 14:23:58 +10:00
trans.h Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +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 move _alpm_lstat into util-common 2014-08-03 18:46:32 +10:00
util.h move _alpm_lstat into util-common 2014-08-03 18:46:32 +10:00
version.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00