diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-11 00:54:53 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-05-16 04:38:58 +0200 |
commit | 1bc79cb9a5067d685ba507fad9b189ed28ad70a0 (patch) | |
tree | 3a912815fdddc789ae139059df107b2c6ab950ff /scripts/libmakepkg | |
parent | f4e2009e9b01a3ebff8b54e059d4f0422a139016 (diff) | |
download | pacman-1bc79cb9a5067d685ba507fad9b189ed28ad70a0.tar.gz pacman-1bc79cb9a5067d685ba507fad9b189ed28ad70a0.tar.xz |
alpm_unlock: check handle before dereferencing
Prevents SIGSEGV if we catch SIGINT or SIGHUP before initializing alpm.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg')
0 files changed, 0 insertions, 0 deletions