1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
pacman/lib/libalpm
Dan McGee eedf4f4e63 Fix possible null pointer deref in check_arch
If we have a corrupted database, a package can come through without an arch,
causing the code to blow up when making strcmp() calls. It might even be
possible with perfectly valid database entries lacking an 'arch =' line.
This behavior was seen as at least one of the problems in FS#21668.

Ensure pkgarch is not null before doing anything further.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-10 19:45:14 -06:00
..
po Update Kazakh translation 2010-09-15 07:19:51 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
add.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
alpm_list.c alpm_list_diff_sorted - make some arguments const 2010-03-25 21:31:37 -05:00
alpm_list.h alpm_list_diff_sorted - make some arguments const 2010-03-25 21:31:37 -05:00
alpm.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
alpm.h Introduce -D, --database 2010-05-05 10:37:01 -05:00
backup.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
backup.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
be_files.c More consistent printing of off_t and time_t 2010-03-25 21:58:35 -05:00
be_package.c Read 'force' entry from packages 2010-10-11 17:48:11 -05:00
cache.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
cache.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
conflict.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
conflict.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
db.c Introduce -D, --database 2010-05-05 10:37:01 -05:00
db.h Compute package download size outside _alpm_sync_prepare 2010-05-05 18:15:52 -05:00
delta.c More consistent printing of off_t and time_t 2010-03-25 21:58:35 -05:00
delta.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
deps.c Partial fix for the phonon/qt issue 2010-05-18 11:33:00 -05:00
deps.h Partial fix for the phonon/qt issue 2010-05-18 11:33:00 -05:00
dload.c More consistent printing of off_t and time_t 2010-03-25 21:58:35 -05:00
dload.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
error.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
graph.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
group.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
group.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
handle.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
handle.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
log.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
log.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
Makefile.am Move vercmp code into a separate file 2010-05-04 23:32:13 -05:00
md5.c Add note about XySSL/PolarSSL name change 2010-06-07 10:35:08 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Move vercmp code into a separate file 2010-05-04 23:32:13 -05:00
package.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
remove.c libalpm/remove: fix funny progress bar problem with empty packages 2010-10-18 16:46:41 -05:00
remove.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
sync.c alpm/sync: very small memleak fix 2010-10-18 16:50:32 -05:00
sync.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
trans.c Fix possible null pointer deref in check_arch 2010-12-10 19:45:14 -06:00
trans.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
util.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
util.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
version.c Remove call to function logger 2010-05-04 23:38:52 -05:00