summaryrefslogtreecommitdiffstats
path: root/scripts/library/output_format.sh
diff options
context:
space:
mode:
authorOlivier Brunel <jjk@jjacky.com>2014-08-09 00:41:35 +0200
committerAllan McRae <allan@archlinux.org>2014-08-09 14:08:41 +1000
commit99a5017f5591d17784ac2456b1401628f2749eea (patch)
tree20ef6604b7c575c2f84d342ab443f8fcdf5b754a /scripts/library/output_format.sh
parent17ed9eb7342670a18337516312a25e6cc0b8936c (diff)
downloadpacman-99a5017f5591d17784ac2456b1401628f2749eea.tar.xz
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>
Diffstat (limited to 'scripts/library/output_format.sh')
0 files changed, 0 insertions, 0 deletions